rl_json
rl_json copied to clipboard
Extends Tcl with a json value type and a command to manipulate json values directly. Similar in spirit to how the dict command manipulates dictionary values, and comparable in speed
I made changes necessary to be able to compile the library against Tcl 9.0, while still also being able to compile against Tcl 8.6. Additionally I adapted the test suite...
Please find attached a diff output to make rl_json work under macos (Intel+Apple Silicon). It includes modifications I already applied to 0.14 and some new stuff for the cbor funcitonality....
**parser.c** In TCL8 the function `Tcl_SetObjResult` seems not to support 64bit integers, split the compile path to support both TCL8 and TCL9 **rl_json.c** Use function `Tcl_GetWideIntFromObj` to support 64bit integers...
replace parse_args fix a few tests
Changes are based on v0.14 Add new switches: -nopadding -arrays and -indent to pretty print Tests and man updated
The changes are based on v0.14 (since only this compiles) It adds a new function autoarray which simplifies adding new dictionaries by guessing the value type. Manual added.