Jansson wrapper

Adding Modules to help with scripting/coding plugins.
User avatar
Archive-Poster
Posts: 1090
Gender:
United States of America

Jansson wrapper

Post by Archive-Poster »

current version 1.3

NO STL
NO C++11

Installation

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

Code: Select all

       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) 
Attachments
json_source.zip
(130.18 KiB) Downloaded 2 times

Who is online

Users browsing this forum: No registered users and 1 guest