Raised This Month: $404 Target: $400
 101% 

[INC] sm-json


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
clug
Junior Member
Join Date: May 2016
Location: Australia
Old 04-01-2018 , 12:50   [INC] sm-json
Reply With Quote #1

https://github.com/clugg/sm-json

Hi guys,
I wasn't happy with the current solutions for creating objects nor classes in SourcePawn, and didn't really love how the existing JSON extensions worked either. The git readme will give plenty of examples as to how it works, but I've done my best to follow the JSON standard (minus a few discrepancies - see readme for details).

Hopefully someone finds it as useful as I have - we've been running a stats plugin that builds JSON objects for everything without any noticeable performance hit (20 bots shooting non-stop handling player_hurt events).

Feedback is appreciated.

Thanks.
clug is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Lazytown
Old 04-01-2018 , 15:23   Re: [INC] sm-json
Reply With Quote #2

I'll port one of my projects to use this, I"ll let you know how that goes. (looks very good)
__________________
I sometimes do commissions.
Drixevel is offline
OfficialSikari
Junior Member
Join Date: Aug 2017
Location: /dev/null
Old 05-16-2018 , 03:37   Re: [INC] sm-json
Reply With Quote #3

FYI, your string_helpers.inc conflicts with smlib include (String_StartsWith & String_EndsWith)
OfficialSikari is offline
clug
Junior Member
Join Date: May 2016
Location: Australia
Old 09-03-2018 , 23:42   Re: [INC] sm-json
Reply With Quote #4

Quote:
Originally Posted by OfficialSikari View Post
FYI, your string_helpers.inc conflicts with smlib include (String_StartsWith & String_EndsWith)
Thanks for that, fixed
clug is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:39.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode