Commit Graph

117 Commits

Author SHA1 Message Date
Antony Dovgal
321184da5e fix segfault caused by empty keys is JSON data
add test
2006-07-20 08:23:45 +00:00
Antony Dovgal
7589a72629 json_escape_string() doesn't use tsrm_ls, so no need to pass it 2006-07-20 07:40:41 +00:00
Ilia Alshanetsky
369b7e44a0 MFB: Fixed compiler warnings and enable Json by default. 2006-07-19 16:17:56 +00:00
Omar Kilani
aa8ab527f2 Fix PECL bug #7147 - rework comma insertion whilst encoding.
Add tests to package.xml.
2006-03-18 04:15:16 +00:00
Omar Kilani
6d841fe6a0 Mark as stable. 2006-03-15 00:15:05 +00:00
Omar Kilani
2d294a8b39 - Fix issue with encoding arrays with integer keys.
- Modified pass001.1.phpt to test a mix of integers and strings as keys.
2006-03-04 15:31:27 +00:00
Omar Kilani
690859c1fd Fix encoding of empty strings.
Add empty string value test case.
2006-02-02 10:54:32 +00:00
Omar Kilani
7da29196d3 Add some documentation to the JSON extension. 2006-01-31 09:00:47 +00:00
Omar Kilani
73cead23a5 Add tests for JSON based on tests found on json.org:
http://www.crockford.com/JSON/JSON_checker/test/
2006-01-31 09:00:14 +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
Omar Kilani
933ce50838 Remove json_c. 2006-01-31 08:54:55 +00:00
Omar Kilani
428bce101a Change license from LGPL to PHP. 2006-01-21 01:14:14 +00:00
Omar Kilani
a5cfcdd276 Don't leak a json_object on a decode error. 2006-01-12 03:50:22 +00:00
Edin Kadribasic
7a57d03c8d Fixed ZTS build 2005-12-11 13:19:43 +00:00
Omar Kilani
a1bef77510 Remove config.m4 reference to json_c/config.h.
Add package.xml.
2005-12-11 05:13:35 +00:00
Rasmus Lerdorf
9e45839ada A few cleanups. I hope you don't mind Omar. 2005-12-07 09:12:39 +00:00
Omar Kilani
f54496cd39 Add json extension to PECL. 2005-12-06 06:23:24 +00:00