Petri Lehtinen
581d5b899c
Add versionadded to json_get_alloc_funcs doc
2015-12-22 13:05:28 +02:00
Nathaniel McCallum
245e532934
Add json_get_alloc_funcs() to allow alloc function fetching
...
This is particularly useful in modular situations where the allocation
functions are either unknown or private. For instance, in such cases,
the caller of json_dumps() has no way to free the returned buffer.
2015-12-21 11:46:32 -05:00
Petri Lehtinen
e44b2231b5
doc: Fix a broken link
...
Fixes #258
2015-10-20 10:21:08 +03:00
Petri Lehtinen
4c4f692bd6
Add json_object_foreach_safe
...
Fixes #230 .
2015-08-26 17:32:55 +03:00
Petri Lehtinen
69678aaa35
doc: Copying doesn't preserve key insertion order
...
Fixes #237 .
2015-05-19 08:49:10 +03:00
david bigagli
82a55ef205
doc patch for jansson
2014-12-15 07:47:19 +02:00
Petri Lehtinen
ee27b7e3dd
jansson 2.7
2014-10-02 13:10:45 +03:00
Petri Lehtinen
391d9101a8
Update CHANGES for 2.7
2014-10-02 08:57:07 +03:00
Petri Lehtinen
a6229a2d3e
doc: Enhance string overview
2014-07-21 08:15:34 +03:00
Petri Lehtinen
88943b64e3
Define JSON_MAX_INDENT
...
Fixes #191 .
2014-07-07 11:34:50 +03:00
Petri Lehtinen
17b5fdd94b
Add JSON_REAL_PRECISION
...
Fixes #178 .
2014-04-30 12:46:34 +03:00
Petri Lehtinen
17ec22f514
Merge branch '2.6'
2014-02-11 14:49:15 +02:00
Petri Lehtinen
492feb26ce
Document json_object_seed()
2014-02-11 09:38:45 +02:00
Petri Lehtinen
05f7d30e5a
Add json_boolean_value as alias for json_is_true
...
Fixes #146 .
2013-12-04 09:14:19 +02:00
Petri Lehtinen
34d8b92dce
Merge branch '2.5'
2013-11-14 08:49:24 +02:00
Petri Lehtinen
67a7bc7376
doc: Set all memory to zero in secure_free
2013-11-14 08:49:16 +02:00
Petri Lehtinen
f8d8d524cf
Document JSON_ALLOW_NUL and clarify NUL byte handling
2013-09-30 10:55:34 +03:00
Petri Lehtinen
5744468c99
Clarify json_string_length doc
2013-09-30 10:45:02 +03:00
Petri Lehtinen
7876125a22
Document s% and s# for json_pack, s% for json_unpack
2013-09-30 08:47:05 +03:00
Chip Salzenberg
0be5c959da
document new null-friendly functions
2013-09-27 19:10:32 -07:00
Petri Lehtinen
e4d6a9f6f4
Add versionadded to the new json_pack() format specifiers
2013-09-23 09:34:28 +03:00
Petri Lehtinen
9f9c9fe410
doc: Fix index type for json_array_foreach()
2013-09-19 21:26:46 +03:00
Petri Lehtinen
24c67966aa
Mention success first in json_load_callback_t docs
2013-09-16 08:49:38 +03:00
Phillip Howell
0747d3943f
Clarified json_load_callback_t return value docs
2013-09-16 08:49:38 +03:00
Petri Lehtinen
3196ad48ed
pack: Add format specifiers s#, + and +#
2013-08-14 21:54:11 +03:00
Petri Lehtinen
49ad5328c7
doc: Add an example for circumventing problems with Windows heaps
2013-08-06 08:12:20 +03:00
Petri Lehtinen
8490e377c0
Make the argument of json_deep_copy() const
...
Fixes #126 .
2013-07-08 12:36:56 +03:00
Petri Lehtinen
a38704df58
Fix indentation in docs
2013-06-12 08:30:28 +03:00
Jason Choy
120a90a155
Using jsonp_strtod instead of casting to double to catch double overflow
2013-06-11 15:09:08 +01:00
Jason Choy
c3e9725f02
Changed :versionadded for JSON_DECODE_INT_AS_REAL docs
2013-06-11 12:31:41 +01:00
Jason Choy
02a3829363
Renamed flag to JSON_DECODE_INT_AS_REAL and added documentation
2013-06-11 12:24:28 +01:00
Daniel Griscom
b49280be72
Fixed "comparison between signed and unsigned" warning
2013-05-12 15:45:33 -04:00
Daniel Griscom
e8c812b500
Added test cases and documentation for json_array_foreach()
2013-05-12 15:34:26 -04:00
Andrei Epure
f675514815
jansson:doc: modified incref doc
...
Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
2013-04-29 15:32:52 +03:00
Petri Lehtinen
bbd3b0ca4f
Fix a typo
2013-04-01 14:41:10 +03:00
Petri Lehtinen
597423ea80
doc: Add versionadded directive for json_boolean()
2012-09-22 14:25:29 +03:00
Petri Lehtinen
23d563434a
Fix a typo on doc/apiref.rst
2012-09-06 12:06:41 +03:00
Petri Lehtinen
b6a1d8cfd4
Add json_boolean() macro
...
Mostly for symmetry reasons. Makes it easier e.g. to:
int ok = 0;
if(something)
ok = 1;
json_object_set_new(obj, "ok", json_boolean(ok));
Fixes #86 .
2012-07-30 07:20:37 +03:00
Petri Lehtinen
a501a39626
Document the JSON_ESCAPE_SLASH encoding flag
2012-06-29 13:32:17 +03:00
Petri Lehtinen
f309e30320
Merge branch '2.3'
2012-04-26 22:09:48 +03:00
Jack Mitchell
233574e8e0
fix slight typo in json_pack apiref example
...
Fixes #73 .
2012-04-26 22:09:29 +03:00
Petri Lehtinen
e8fd3e3085
Document and tweak json_load_callback()
...
Change the return value of json_load_callback_t to size_t, as it's
feels more correct. The callback should return (size_t)-1 on failure.
Issue #57 .
2012-03-26 21:53:21 +03:00
Petri Lehtinen
ac97f6f225
doc: Fix the names of library version constants
...
Fixes #52 .
2012-02-02 17:00:35 +02:00
Petri Lehtinen
6cb14dd337
Add support for optional object keys for json_unpack() and friends
...
Initial patch by Andrew Thompson.
2012-01-26 21:16:36 +02:00
Petri Lehtinen
fa268b5017
Add json_object_update_{existing,missing}
...
Closes #37 .
2012-01-24 21:03:36 +02:00
Petri Lehtinen
a307974731
Implement json_object_foreach()
...
Also change many places to use it internally to replace hand-crafted
iteration.
Closes #45 , #46 .
2012-01-24 21:01:24 +02:00
Petri Lehtinen
f471e63bb3
Write number of bytes read to error position on successful decode
...
Closes #49 .
2012-01-23 21:18:04 +02:00
Petri Lehtinen
68d6410da0
Update the documentation of JSON_DECODE_ANY
2011-11-14 21:10:16 +02:00
Andrea Marchesini
1e36667193
JSON_DECODE_ANY
...
Closes GH-4.
2011-11-14 21:10:09 +02:00
Petri Lehtinen
84f739036d
Documentation fixes
2011-10-04 21:04:56 +03:00