Scott MacVicar
1c1ba8cc06
Allow the json_decode() depth to be any size, but keep the static one around for now. It might make sense to allow an unbound depth.
2009-05-14 00:13:57 +00:00
Scott MacVicar
b0b32deb12
Add json_last_error() for getting a bit of information about what failed during a decode, also fixes a segfault when we have [1}
...
[DOC]
2008-12-19 02:00:59 +00:00
Scott MacVicar
cae85c867a
Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table.
...
Add missing reflection information to json_encode()
Fixes bug #45791 with 0e0 not being supported as a value
Error values are stored when encountered during parsing
2008-12-17 14:39:56 +00:00
Ilia Alshanetsky
369b7e44a0
MFB: Fixed compiler warnings and enable Json by default.
2006-07-19 16:17:56 +00:00
Omar Kilani
94a140214c
- Rewritten for better performance. 3-8x faster encodes, 2-4x faster decodes.
...
- No longer uses json-c, implements it's own JSON parser and encoder.
- JSON parser based on Douglas Crockford's JSON_checker.
2006-01-31 08:59:06 +00:00