mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Going forward, the following methods will require a mem_task to be provided: Clone, CreateArray, CreateObject, Parse, Stringify. For JsonArray, append/insert/prepend will take arguments in the form ((index,) value, type). A JsonItem will automatically be created which encapsulates this value and type. If type is not specified, the following will be done to determine the type: - Cast value to JsonElement* and check if the signature matches. If it does, assign type as value(JsonElement*)->type; or - If value > 0x1000, assign type as JSON_STRING; or - Otherwise, assign type as JSON_BOOLEAN.
43 KiB
43 KiB