Joakim Soderberg
0687442f5d
Fixed some minor issues.
2013-04-25 13:59:26 +00:00
Joakim Soderberg
8390c90a91
Added more detailed CMake documentation.
...
- Also added better FindSphinx support so that we can detect the version and not have a fatal error if it's too old.
- Added support for building latex documentation with -DBUILD_LATEX. Off by default.
- Added suppor for building man pages with -DBUILD_MAN. On by default (unless sphins is too old to support it).
2013-04-24 14:14:00 +00:00
Petri Lehtinen
6b1cba94e3
Document CMake build process, deprecate the VS2010 project
2013-04-15 10:31:23 +03:00
Petri Lehtinen
9591d3a155
Tweak Android build documentation
2013-04-15 10:25:32 +03:00
Petri Lehtinen
83d04ddd68
Merge branch 'master' of git://github.com/svic/jansson
2013-04-15 10:21:31 +03:00
Garner Lee
d20751d53d
Add android doc.
2013-04-11 13:32:04 -07:00
Petri Lehtinen
8fd475bf96
Merge branch '2.4'
2013-04-01 14:41:14 +03:00
Petri Lehtinen
bbd3b0ca4f
Fix a typo
2013-04-01 14:41:10 +03:00
Petri Lehtinen
a3e6369105
Merge branch '2.4'
2013-03-09 21:15:22 +02:00
Petri Lehtinen
3d0d61fdaf
Use json_decref() properly in tutorial
2013-03-09 21:15:09 +02:00
Petri Lehtinen
5804e9de9b
Set master for 2.5 development mode
2012-09-23 13:41:40 +03:00
Petri Lehtinen
3279aacdee
jansson 2.4
2012-09-23 12:52:41 +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
52924288b9
Merge branch '2.3'
2012-07-27 07:28:40 +03:00
Petri Lehtinen
7892ecce1c
Fix a small error in tutorial
...
Fixes #84 .
2012-07-27 07:28:18 +03:00
Petri Lehtinen
a501a39626
Document the JSON_ESCAPE_SLASH encoding flag
2012-06-29 13:32:17 +03:00
Petri Lehtinen
c0139681cd
Update the documentation to mention Visual Studio 2010 support
2012-05-19 21:22:59 +03:00
Jack Mitchell
c7f86abf6d
fix slight typo in json_pack apiref example
...
Fixes #73 .
2012-04-26 22:10:46 +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
ff6e6ee293
jansson 2.3.1
2012-04-20 21:35:00 +03:00
Petri Lehtinen
8b2bfd5586
Merge branch '2.3'
2012-04-18 21:59:10 +03:00
Petri Lehtinen
e46b912f53
Fix tutorial to use Github API v3
...
The v2 API will be shut down on May 1st 2012.
Fixes #65 .
2012-04-18 21:58:52 +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
d286e7b753
Merge branch '2.3'
2012-03-20 20:56:00 +02:00
Petri Lehtinen
3c6e36ba2d
Update copyright notices for 2012
2012-03-20 20:55:55 +02:00
Petri Lehtinen
98a99fb2bd
Merge branch '2.3'
2012-02-02 17:03:03 +02:00
Petri Lehtinen
ac97f6f225
doc: Fix the names of library version constants
...
Fixes #52 .
2012-02-02 17:00:35 +02:00
Petri Lehtinen
a894980258
Set master to 2.4 development mode
2012-01-30 20:59:32 +02:00
Petri Lehtinen
f227483846
jansson 2.3
2012-01-27 21:02:12 +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
bef87fc258
Merge branch '2.2'
...
Closes GH-43.
2011-11-14 21:11:18 +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
0931d938b0
doc: The same JSON values must not be encoded in parallel
...
Closes GH-42.
2011-11-14 21:01:34 +02:00
Petri Lehtinen
72cd84b92a
doc: The configure script can be used on MinGW
2011-11-02 08:01:49 +02:00
Petri Lehtinen
9c6cb42f17
jansson 2.2.1
2011-10-06 21:23:09 +03:00
Petri Lehtinen
ed06777937
Distribute doc/portability.rst
2011-10-06 21:23:09 +03:00
Petri Lehtinen
84f739036d
Documentation fixes
2011-10-04 21:04:56 +03:00
Petri Lehtinen
0f358c8eaa
doc: Add project status to introduction, add portability chapter
...
Move the multithreading-and-setlocale documentation to the new
portability chapter.
Fixes GH-36.
2011-10-03 22:42:39 +03:00
Petri Lehtinen
d7ddbf3661
Make real number encoding and decoding work under all locales
...
The decimal point '.' is changed to locale's decimal point
before/after JSON conversion to make C standard library's
locale-specific string conversion functions work correctly.
All the tests now call setlocale(LC_ALL, "") on startup to use the
locale set in the environment.
Fixes GH-32.
2011-10-02 21:31:17 +03:00
Petri Lehtinen
e4cc77ce52
doc: Clarify the result of 's' format of json_unpack()
...
Fixes GH-31.
2011-09-12 21:22:20 +03:00
Petri Lehtinen
889f295958
jansson 2.2
2011-09-02 21:39:40 +03:00
Petri Lehtinen
68809cd913
doc: json_dump_callback was added in v2.2
2011-09-02 21:29:01 +03:00
Petri Lehtinen
910fb92267
Merge branch '2.1'
2011-08-08 21:00:47 +03:00