Raised This Month: $32 Target: $400
 8% 

Jansson wrapper


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
exeorb
Junior Member
Join Date: Jul 2014
Old 07-20-2014 , 23:00   Jansson wrapper
Reply With Quote #1

This module is SMJansson (https://github.com/thraaawn/SMJansson) wrapper to AMXX

current version 1.3

NO STL
NO C++11



Installation

  1. Download `json.zip`
  2. Extract it in your `amxmodx` directory
  3. Add `json` in your `modules.ini`
  4. for test plugin add in your `plugins.ini`
Examples

PHP Code:
        new any:error 0
        
new JsonHandle:jroot json_object()

        
error += !json_object_set_new(jroot"1233"json_object())
        
error += !json_object_clear(jroot)
        
error += !(json_object_size(jroot) == 0)

        
destroy_json(jroot

some issues

  • Can anybody compile it for windows and mac
  • Help with adding more test

source you can find
https://github.com/exeorb/Amx_Json

or here

Attached Files
File Type: zip json.zip (119.8 KB, 337 views)
File Type: zip json_source.zip (130.2 KB, 268 views)

Last edited by exeorb; 09-21-2014 at 09:31.
exeorb is offline
 



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 22:58.


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