Page 1 of 1

Jansson wrapper

Posted: Mon Oct 19, 2026 11:20 pm
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)