Compare commits
1041 Commits
json-c-0.1
...
json-c-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41a55cfced | ||
|
|
afdca3ab5e | ||
|
|
7ebdc4ddf8 | ||
|
|
87900c0a2e | ||
|
|
e5ca4d3b3d | ||
|
|
e3db88d114 | ||
|
|
6bfab90c87 | ||
|
|
ecb7a4c9a3 | ||
|
|
906d1581de | ||
|
|
9b8d170d1f | ||
|
|
6e481aa061 | ||
|
|
781675758f | ||
|
|
833233faa8 | ||
|
|
31a22fb2da | ||
|
|
0051f2dbe0 | ||
|
|
0741ce3918 | ||
|
|
e3464a2ab4 | ||
|
|
61016412fb | ||
|
|
f2eac07129 | ||
|
|
e93ae70417 | ||
|
|
0bc2dd5e60 | ||
|
|
9c44c7ed52 | ||
|
|
401249cbdf | ||
|
|
66f7869219 | ||
|
|
dabed80523 | ||
|
|
f6c8eba84e | ||
|
|
76f819e51d | ||
|
|
eef983b1df | ||
|
|
c0cf4bc23b | ||
|
|
e85c8ada54 | ||
|
|
2c84476c77 | ||
|
|
407ddb4350 | ||
|
|
33337523f5 | ||
|
|
7ff7eab603 | ||
|
|
88bce2b38e | ||
|
|
a907f7dd1b | ||
|
|
ad8b8afa7d | ||
|
|
4186537557 | ||
|
|
9ff6b68baf | ||
|
|
1a7defaa69 | ||
|
|
c4a615a052 | ||
|
|
159822dd8a | ||
|
|
990acb4e19 | ||
|
|
502522a93d | ||
|
|
12ea386989 | ||
|
|
6dd8618170 | ||
|
|
3dad6941da | ||
|
|
f7e9d8e216 | ||
|
|
85ed501a3d | ||
|
|
077661f3d1 | ||
|
|
87127d31c6 | ||
|
|
1ee12100b6 | ||
|
|
0bcfb6bc84 | ||
|
|
bef40a342e | ||
|
|
2316dbae85 | ||
|
|
612ba56f06 | ||
|
|
469bc0e4bb | ||
|
|
ce3184243a | ||
|
|
9dbf2880cc | ||
|
|
a14a3a680c | ||
|
|
efc530594b | ||
|
|
3b8363fcdc | ||
|
|
538b046884 | ||
|
|
e4d9fbd52a | ||
|
|
1c38dea651 | ||
|
|
5a46a3b76d | ||
|
|
43d3118935 | ||
|
|
d5c5b2caec | ||
|
|
a86d7a8f5a | ||
|
|
5568916eb1 | ||
|
|
71d845e819 | ||
|
|
c8b0a90e95 | ||
|
|
9b36c72945 | ||
|
|
9803032b9d | ||
|
|
bdfdb5fe10 | ||
|
|
11311ed2a3 | ||
|
|
e9d3ab209a | ||
|
|
4d529f92dc | ||
|
|
d0f32a5a43 | ||
|
|
efd536af48 | ||
|
|
4d5507f5dc | ||
|
|
d1716fe431 | ||
|
|
1741bcd3ea | ||
|
|
343f24f920 | ||
|
|
6ec5e5842d | ||
|
|
b6ba9429d0 | ||
|
|
3cc0c47221 | ||
|
|
7b971b52aa | ||
|
|
debe8b70b7 | ||
|
|
79c147203e | ||
|
|
1a2fdc49e7 | ||
|
|
b1fb1508ee | ||
|
|
bc35549f90 | ||
|
|
d6f46ae104 | ||
|
|
c50bf9df9c | ||
|
|
57bef5edc4 | ||
|
|
777dd06be8 | ||
|
|
84248a7884 | ||
|
|
81f0807b63 | ||
|
|
57ea393004 | ||
|
|
9417f4e726 | ||
|
|
257b29c991 | ||
|
|
d1deed499f | ||
|
|
6eca65617a | ||
|
|
ac4dfa44cb | ||
|
|
9462c0a7b5 | ||
|
|
bdd5e03d6e | ||
|
|
4b0c6de760 | ||
|
|
253a5fa99d | ||
|
|
9749b0cb66 | ||
|
|
2e9b7456a5 | ||
|
|
5282e73600 | ||
|
|
8b35a78d29 | ||
|
|
22773b1e51 | ||
|
|
16208fc01a | ||
|
|
2a2d861bc0 | ||
|
|
213bb5caa1 | ||
|
|
d28ac67dde | ||
|
|
5d98f7825a | ||
|
|
f63573460c | ||
|
|
6ee0a35a20 | ||
|
|
11546bfd07 | ||
|
|
5d00384e0d | ||
|
|
49c3721a5a | ||
|
|
2f0942bdd7 | ||
|
|
6ba1adf8ef | ||
|
|
86b46cac07 | ||
|
|
f2fc1ca00a | ||
|
|
acccefd770 | ||
|
|
de5a64888a | ||
|
|
7e3eba72db | ||
|
|
7d303478a4 | ||
|
|
66dcdf549e | ||
|
|
4902f9cb87 | ||
|
|
558d48a6f3 | ||
|
|
46b58ad9e7 | ||
|
|
0b937f6173 | ||
|
|
65274cf3b5 | ||
|
|
0c0d901443 | ||
|
|
e244146dfd | ||
|
|
a1c092bd7b | ||
|
|
716978f20d | ||
|
|
9e6acc9a4e | ||
|
|
5accae04bb | ||
|
|
79459b2de2 | ||
|
|
2326e34390 | ||
|
|
6e533471a8 | ||
|
|
a7d85bfba9 | ||
|
|
cbc603b587 | ||
|
|
f0d93cee14 | ||
|
|
9b832c8710 | ||
|
|
543a8eb5f9 | ||
|
|
94b2a0cb29 | ||
|
|
a4389f4f30 | ||
|
|
4493db76d6 | ||
|
|
1491d92038 | ||
|
|
d07da04c14 | ||
|
|
63c602ff80 | ||
|
|
4355242477 | ||
|
|
bd56cc8bf7 | ||
|
|
723ac8cbb5 | ||
|
|
3bb54f97e7 | ||
|
|
5c72257220 | ||
|
|
66cce0a1d7 | ||
|
|
b11f79c52c | ||
|
|
78246db72f | ||
|
|
a1ea216878 | ||
|
|
d783ad76c7 | ||
|
|
f2c0df404b | ||
|
|
82d9433813 | ||
|
|
296db618e9 | ||
|
|
3b4f1e92ad | ||
|
|
928fa96db7 | ||
|
|
a5c2e11460 | ||
|
|
2d2382d709 | ||
|
|
320548caf6 | ||
|
|
9a90b8477b | ||
|
|
1cb56e705f | ||
|
|
1763edaba3 | ||
|
|
a5fed59756 | ||
|
|
0910e18bbd | ||
|
|
f1fb9abf14 | ||
|
|
42aa6f7257 | ||
|
|
286b4fdd27 | ||
|
|
a66a6cc51b | ||
|
|
21f767f63f | ||
|
|
9b0fb2b33e | ||
|
|
8bf3b45a29 | ||
|
|
05c5d15075 | ||
|
|
d6d4b71d7d | ||
|
|
382f9462c2 | ||
|
|
8be2ffdcd7 | ||
|
|
4fc44f32df | ||
|
|
9361d8d3a8 | ||
|
|
dc1ef7d566 | ||
|
|
e91e4cc9fb | ||
|
|
f61f1a7a91 | ||
|
|
db6a6cc2b2 | ||
|
|
6a0df2609e | ||
|
|
8c727e5ce1 | ||
|
|
be9671e48a | ||
|
|
9dde931a1c | ||
|
|
75bf657cc2 | ||
|
|
9ca50cf2f8 | ||
|
|
0b7e78c309 | ||
|
|
00098efc96 | ||
|
|
9b53c92ea3 | ||
|
|
cd7109f767 | ||
|
|
78e390a261 | ||
|
|
8abeebc9b2 | ||
|
|
1f8b64f62c | ||
|
|
94909840be | ||
|
|
9c0565100a | ||
|
|
ba181548bc | ||
|
|
041cef434a | ||
|
|
f787810890 | ||
|
|
7c859c54e4 | ||
|
|
c456963110 | ||
|
|
0f61f6921b | ||
|
|
69d650528d | ||
|
|
4754f47434 | ||
|
|
1fcb9e476b | ||
|
|
987d3b2c86 | ||
|
|
0fd3b7d316 | ||
|
|
df27756491 | ||
|
|
7af593c140 | ||
|
|
785a94b7a2 | ||
|
|
eb08a92218 | ||
|
|
369e8477d2 | ||
|
|
b4e72c2655 | ||
|
|
f941931804 | ||
|
|
1bc7a6b223 | ||
|
|
df62119b7f | ||
|
|
bcb6d7d347 | ||
|
|
e50154f615 | ||
|
|
583911a66c | ||
|
|
4298431150 | ||
|
|
2b439ea598 | ||
|
|
cf30cba4ac | ||
|
|
f052e42f56 | ||
|
|
104b408ee8 | ||
|
|
0ffb384409 | ||
|
|
98b7ee93fd | ||
|
|
4e9e44e525 | ||
|
|
8c7849e6e3 | ||
|
|
f3d8006d34 | ||
|
|
8b43ff0c22 | ||
|
|
bfec9c8685 | ||
|
|
56a89f902f | ||
|
|
46eea84554 | ||
|
|
88cce7b9c5 | ||
|
|
6cf4847796 | ||
|
|
002411293d | ||
|
|
66f8ca3c03 | ||
|
|
55bf2d365d | ||
|
|
47189b5ff1 | ||
|
|
de02d09c32 | ||
|
|
870965e1ea | ||
|
|
616b1050b2 | ||
|
|
4a23d3413d | ||
|
|
730e3d044f | ||
|
|
64de4b6e9f | ||
|
|
1962ba7de3 | ||
|
|
024e835f4c | ||
|
|
78a0f2ea5d | ||
|
|
e46b9cdb7d | ||
|
|
9a7de35b92 | ||
|
|
cb10a13e94 | ||
|
|
2508109b18 | ||
|
|
4d9f6dd22e | ||
|
|
2330c6f0de | ||
|
|
6542d33cd1 | ||
|
|
10a9ac245e | ||
|
|
6fa8b7ff42 | ||
|
|
6068d3f6d1 | ||
|
|
b01d50b8dc | ||
|
|
c2c94024f5 | ||
|
|
6465e74020 | ||
|
|
34334e5d3f | ||
|
|
0b67caec1a | ||
|
|
a4e3700972 | ||
|
|
5f3bf70f03 | ||
|
|
f23486a321 | ||
|
|
6eac6986c9 | ||
|
|
84e6032883 | ||
|
|
7a72805e34 | ||
|
|
7d3c2d9fad | ||
|
|
a68566bf6a | ||
|
|
197e372464 | ||
|
|
36118b681e | ||
|
|
50179fb09f | ||
|
|
da76ee26e7 | ||
|
|
e26a1195f4 | ||
|
|
99bb2121c6 | ||
|
|
0710c835a1 | ||
|
|
401b29c021 | ||
|
|
60494684a1 | ||
|
|
9128ec49b1 | ||
|
|
5ebfeaedc5 | ||
|
|
4c10712114 | ||
|
|
c1b872d817 | ||
|
|
85c244f048 | ||
|
|
02fe2e0ccd | ||
|
|
ecdfeb18cf | ||
|
|
66d91fdf86 | ||
|
|
c4cc673071 | ||
|
|
0a16b23adf | ||
|
|
eab1375123 | ||
|
|
b0466b626b | ||
|
|
0fc9d91277 | ||
|
|
bc06f82f85 | ||
|
|
481d0a8ede | ||
|
|
1c6086a86a | ||
|
|
fe308b8862 | ||
|
|
9ecb1222bd | ||
|
|
0351bb55c8 | ||
|
|
d1f83bf5ea | ||
|
|
5d89fc8a9d | ||
|
|
02b687b9a6 | ||
|
|
853b4b5dee | ||
|
|
4a546e7b2f | ||
|
|
fbe1543644 | ||
|
|
1e94da779a | ||
|
|
61e2bae511 | ||
|
|
fa6a7dccb9 | ||
|
|
cc802039a8 | ||
|
|
12b2e1159d | ||
|
|
8f3592b3d5 | ||
|
|
3008401b2a | ||
|
|
a8a0590921 | ||
|
|
a85d2395ff | ||
|
|
76dd99abb2 | ||
|
|
78642dcb9b | ||
|
|
dd040ba446 | ||
|
|
5b15c7567d | ||
|
|
311c5e5b2b | ||
|
|
5385a566db | ||
|
|
0a3d22b9bb | ||
|
|
1526c84a13 | ||
|
|
add7b13a9a | ||
|
|
d414d3eabc | ||
|
|
2e71fe0963 | ||
|
|
199c52e2db | ||
|
|
3648c3ed2c | ||
|
|
003b58782b | ||
|
|
26f080997d | ||
|
|
06742d6277 | ||
|
|
a59d5acfab | ||
|
|
4f43a077a4 | ||
|
|
519dfe1591 | ||
|
|
45b6416652 | ||
|
|
abc9a0731b | ||
|
|
090ae4e4d4 | ||
|
|
22870ac2bd | ||
|
|
a100573eec | ||
|
|
558ef8609c | ||
|
|
929d74512a | ||
|
|
e97fc20bfd | ||
|
|
31243e4d12 | ||
|
|
d07b910149 | ||
|
|
952db0f397 | ||
|
|
77d935b7ae | ||
|
|
099016b7e8 | ||
|
|
8e3d3d5544 | ||
|
|
c66e7377f3 | ||
|
|
8086314026 | ||
|
|
a555d0e2f2 | ||
|
|
4d36b0287d | ||
|
|
9b64c3e347 | ||
|
|
ee90110f9b | ||
|
|
0e5bbcaa16 | ||
|
|
f9605e9072 | ||
|
|
1059007024 | ||
|
|
d9981f67dd | ||
|
|
00272292a7 | ||
|
|
55d053118e | ||
|
|
f6f76f9430 | ||
|
|
05623b3a2e | ||
|
|
fa6bc1e2d7 | ||
|
|
8b511c402b | ||
|
|
ba4527904a | ||
|
|
2babb5b780 | ||
|
|
31ab57ca8b | ||
|
|
9ed00a694b | ||
|
|
4badbe9c20 | ||
|
|
0a95f98b8d | ||
|
|
ecb9354bb1 | ||
|
|
23ddcbd4da | ||
|
|
5cc11289b4 | ||
|
|
4dc0f1718e | ||
|
|
4313465f25 | ||
|
|
8bdb420d0f | ||
|
|
6bf6a9e248 | ||
|
|
a9114392b4 | ||
|
|
04bb0fca73 | ||
|
|
b14363ae32 | ||
|
|
8c33d1c3c9 | ||
|
|
7fb8d56458 | ||
|
|
053eaa61d7 | ||
|
|
ab5425a6a6 | ||
|
|
511edb51a4 | ||
|
|
2876fcc137 | ||
|
|
8096125618 | ||
|
|
f56c5c1a60 | ||
|
|
74bbe349c4 | ||
|
|
110c60fcdd | ||
|
|
76e1472808 | ||
|
|
d0dc3489dc | ||
|
|
4742a2ab1d | ||
|
|
165e6f58fc | ||
|
|
8269f90956 | ||
|
|
5e699f7f73 | ||
|
|
c58d56ab7c | ||
|
|
d52f1ff2c1 | ||
|
|
d47fb12e85 | ||
|
|
73a2ed115a | ||
|
|
fd0ae5aba6 | ||
|
|
78cd37fb18 | ||
|
|
37355cf0e6 | ||
|
|
270dc2f999 | ||
|
|
0734c5303d | ||
|
|
69ceb38f2f | ||
|
|
0dac15c1ca | ||
|
|
e756777c92 | ||
|
|
58670ec64e | ||
|
|
a989651bd4 | ||
|
|
61392c867f | ||
|
|
0a070ef312 | ||
|
|
545464322b | ||
|
|
b64bdfe381 | ||
|
|
0c60125211 | ||
|
|
95737df9d4 | ||
|
|
96ab2f6596 | ||
|
|
96bb334650 | ||
|
|
f357081b57 | ||
|
|
2782a6b62c | ||
|
|
a86ae1df9a | ||
|
|
829e0829dd | ||
|
|
cf8421c36d | ||
|
|
fb0b653612 | ||
|
|
a3b82cbc77 | ||
|
|
677a8ccf44 | ||
|
|
19bbf2c069 | ||
|
|
5e19c26cae | ||
|
|
9acc4e9d71 | ||
|
|
9a494081cb | ||
|
|
31f1ab2be1 | ||
|
|
8b162c4b89 | ||
|
|
c117d8a8a8 | ||
|
|
a8cec740f0 | ||
|
|
df7833e9a3 | ||
|
|
ed54353d84 | ||
|
|
5d9b8e0fef | ||
|
|
56f81811c2 | ||
|
|
6afcf1606b | ||
|
|
3822177473 | ||
|
|
c2ba379b03 | ||
|
|
203bacb24d | ||
|
|
d1650a582e | ||
|
|
541a0b609a | ||
|
|
353ef26bda | ||
|
|
1204a1fded | ||
|
|
a06339215e | ||
|
|
b15e7ba470 | ||
|
|
e94eb90f9f | ||
|
|
c14c6caa32 | ||
|
|
a8c9284f06 | ||
|
|
0030e905b4 | ||
|
|
e56ab0146f | ||
|
|
b3296e778f | ||
|
|
737aee40c4 | ||
|
|
2d44f865c3 | ||
|
|
6359b79847 | ||
|
|
9532f94fa4 | ||
|
|
1160c8625c | ||
|
|
c816de212b | ||
|
|
30e00cf757 | ||
|
|
e3b6521baa | ||
|
|
5a2b9139f9 | ||
|
|
a0129c9761 | ||
|
|
77d7a99c75 | ||
|
|
0ccb296263 | ||
|
|
f69fbd897b | ||
|
|
3c3b5920f7 | ||
|
|
c684b1d40b | ||
|
|
518f337ce8 | ||
|
|
4bf7ffa984 | ||
|
|
ae13ca524a | ||
|
|
0ffdbb2395 | ||
|
|
1934eddf29 | ||
|
|
7ad72b81c5 | ||
|
|
010f33d460 | ||
|
|
787a8b3f1c | ||
|
|
360d28b961 | ||
|
|
bb5971ba2a | ||
|
|
eca74dcccf | ||
|
|
e651e96a5b | ||
|
|
a255510cca | ||
|
|
8c0cb0bd28 | ||
|
|
0421772bbc | ||
|
|
4bfed6eb2f | ||
|
|
5fe4448541 | ||
|
|
a5089f5a79 | ||
|
|
48ae9e8874 | ||
|
|
ee34939e74 | ||
|
|
424b315ce0 | ||
|
|
1446572997 | ||
|
|
d6b968dff7 | ||
|
|
78d8e5c3d5 | ||
|
|
6c55f65d07 | ||
|
|
0819a55ffb | ||
|
|
37b4da6b92 | ||
|
|
581b94b3bd | ||
|
|
11a638048d | ||
|
|
a92e6d2c28 | ||
|
|
41f434e89f | ||
|
|
b99be9cf4e | ||
|
|
7f30afc6e5 | ||
|
|
f19abcf981 | ||
|
|
bdaff94e9a | ||
|
|
25aedddcdf | ||
|
|
3d3b014971 | ||
|
|
b1ad748842 | ||
|
|
af8dd4a307 | ||
|
|
baed9983b3 | ||
|
|
ac26ea9c5b | ||
|
|
ddd049045d | ||
|
|
7ef51239a9 | ||
|
|
760c1e284c | ||
|
|
eae040a84a | ||
|
|
374ffe87c6 | ||
|
|
05b41b159e | ||
|
|
087534c030 | ||
|
|
d0b87ee87b | ||
|
|
8799623806 | ||
|
|
a91aa5e35d | ||
|
|
509600a7f7 | ||
|
|
4f69529a04 | ||
|
|
dd08b70e46 | ||
|
|
dd0eef6aab | ||
|
|
163db3f6d0 | ||
|
|
1da4b23235 | ||
|
|
a49f1dee8a | ||
|
|
897b49f475 | ||
|
|
b140c473d1 | ||
|
|
6288be340c | ||
|
|
57e79e1d0b | ||
|
|
50e7fff0f3 | ||
|
|
c8e1b59ae5 | ||
|
|
1c7e891e44 | ||
|
|
4a94ddbd8b | ||
|
|
e2f46b9f79 | ||
|
|
68abf12afa | ||
|
|
48984dbd42 | ||
|
|
8ab8df1170 | ||
|
|
a9c34d5531 | ||
|
|
3969487376 | ||
|
|
07ea04e651 | ||
|
|
634900d270 | ||
|
|
44605744dc | ||
|
|
21c886534f | ||
|
|
2b1903cc69 | ||
|
|
485f2a02c7 | ||
|
|
c2036ab9fc | ||
|
|
3e81b4abe3 | ||
|
|
c46a0636c6 | ||
|
|
f1713b3f62 | ||
|
|
259d5078c4 | ||
|
|
6b0745ea1f | ||
|
|
38a112380b | ||
|
|
906188e1cf | ||
|
|
c9a0ac5886 | ||
|
|
d98fc501fb | ||
|
|
45c601bfa4 | ||
|
|
158c248d5c | ||
|
|
ab3e40b37c | ||
|
|
1f46d2f40f | ||
|
|
39c9fa0a2b | ||
|
|
3003161eff | ||
|
|
6460446aa6 | ||
|
|
ee4691c9fb | ||
|
|
9c4b07faec | ||
|
|
7a9075c16b | ||
|
|
240627f260 | ||
|
|
745cadc944 | ||
|
|
83cb93b7ae | ||
|
|
2942870325 | ||
|
|
3b108935d0 | ||
|
|
506a32d4ab | ||
|
|
7539ab2d2e | ||
|
|
753de5a5a9 | ||
|
|
80bf857b27 | ||
|
|
aa831c7960 | ||
|
|
fc1b113b29 | ||
|
|
71f5c2d50b | ||
|
|
c3e11d6812 | ||
|
|
dba65cbd30 | ||
|
|
5bb5e2e8fc | ||
|
|
b0bceaa8bf | ||
|
|
3943960874 | ||
|
|
e8cec5c9e4 | ||
|
|
ebe520e96e | ||
|
|
ba5a02e8a9 | ||
|
|
994e6c1f60 | ||
|
|
705e2fd010 | ||
|
|
31d4d3dee7 | ||
|
|
0a8ac2ed92 | ||
|
|
08c8231cc8 | ||
|
|
bf29aa0f8c | ||
|
|
91f9884591 | ||
|
|
d189d7b5ff | ||
|
|
f2e991a341 | ||
|
|
2327b23d8e | ||
|
|
901d59b29f | ||
|
|
3df1f98b4a | ||
|
|
a056893263 | ||
|
|
e3752b5894 | ||
|
|
c1c71097a1 | ||
|
|
fb042f449b | ||
|
|
37a2edf468 | ||
|
|
4bbc72f633 | ||
|
|
7a4759f165 | ||
|
|
4414d068b3 | ||
|
|
7038bb8061 | ||
|
|
dfc0fddf22 | ||
|
|
0b3616d580 | ||
|
|
c75ebe8973 | ||
|
|
8bd62177e7 | ||
|
|
f8c632f579 | ||
|
|
da4b34355d | ||
|
|
104aef0a6e | ||
|
|
2fd95844c3 | ||
|
|
1e301d94be | ||
|
|
1e08150838 | ||
|
|
f8eb1dec64 | ||
|
|
cdc4e9f64b | ||
|
|
250de31f17 | ||
|
|
c652b6ad29 | ||
|
|
d5da847f51 | ||
|
|
0992aac61f | ||
|
|
cfd09c87f0 | ||
|
|
c233f5c05e | ||
|
|
5ea6a05bfa | ||
|
|
9aca3b6a08 | ||
|
|
8c214902d9 | ||
|
|
e411b1a36e | ||
|
|
84dcc01da1 | ||
|
|
87556afe2a | ||
|
|
5b6d62259a | ||
|
|
94fd101601 | ||
|
|
25afa92ed5 | ||
|
|
c123a1c21b | ||
|
|
89747ac758 | ||
|
|
a19031411d | ||
|
|
f83cf244cd | ||
|
|
963e707ca4 | ||
|
|
0631c37c7f | ||
|
|
8c4a941475 | ||
|
|
d447fbca77 | ||
|
|
d582d3ae5a | ||
|
|
8c82f0e5c3 | ||
|
|
219025727d | ||
|
|
f2f103b986 | ||
|
|
d6d81e6ece | ||
|
|
c01635e03e | ||
|
|
ae242720b6 | ||
|
|
11ab365324 | ||
|
|
a47eafe868 | ||
|
|
0e7ec2ffcd | ||
|
|
aedd36ac8b | ||
|
|
95015d474e | ||
|
|
2643658b6f | ||
|
|
7709cb1355 | ||
|
|
b34d26ff25 | ||
|
|
e00a07b885 | ||
|
|
5dae561d33 | ||
|
|
96efeadd6e | ||
|
|
437716c5b4 | ||
|
|
d99edade72 | ||
|
|
4dd92180c6 | ||
|
|
3628f16dd6 | ||
|
|
1eab22f0da | ||
|
|
bf80d5ad0e | ||
|
|
91662a5b69 | ||
|
|
9c9529f798 | ||
|
|
f81da5e57a | ||
|
|
31a6c2fac8 | ||
|
|
ba11d334db | ||
|
|
48f7e389fb | ||
|
|
4d1e0b4409 | ||
|
|
2a22858fe7 | ||
|
|
b8738dd623 | ||
|
|
05c85ddc21 | ||
|
|
04788421fe | ||
|
|
49003242d1 | ||
|
|
185f43afef | ||
|
|
6727b46454 | ||
|
|
03f3b95248 | ||
|
|
5641227c9b | ||
|
|
fabb84a785 | ||
|
|
e424af32b7 | ||
|
|
ac09581cc2 | ||
|
|
c9c84ca7ee | ||
|
|
cf913621f1 | ||
|
|
579f0746f0 | ||
|
|
cfbdf7757b | ||
|
|
139eb64b43 | ||
|
|
66a77d129a | ||
|
|
8899f3fbfb | ||
|
|
1110e84cce | ||
|
|
dc79d94c38 | ||
|
|
d9879c2533 | ||
|
|
5454c4eaa3 | ||
|
|
4ac47a0219 | ||
|
|
edde8eff9f | ||
|
|
e3fabe9a44 | ||
|
|
5355d387e9 | ||
|
|
e1561ed1df | ||
|
|
7e608c5728 | ||
|
|
32f503f738 | ||
|
|
d58693b0f0 | ||
|
|
837a249f01 | ||
|
|
e9f9f14f22 | ||
|
|
b301f4ea01 | ||
|
|
86a3a6475f | ||
|
|
548d000891 | ||
|
|
b2afca4560 | ||
|
|
2d1da5ab13 | ||
|
|
8777c9477a | ||
|
|
5b11e9adff | ||
|
|
ab0d4dbc69 | ||
|
|
95dff31951 | ||
|
|
447d67d5f3 | ||
|
|
95e174e2fb | ||
|
|
81f6edbfd5 | ||
|
|
3141c3976b | ||
|
|
256ebcd827 | ||
|
|
474376f30a | ||
|
|
2f1fe55f66 | ||
|
|
ef7b08ce7f | ||
|
|
e0e34f0a13 | ||
|
|
db8dbbf371 | ||
|
|
0a99e7a5c1 | ||
|
|
65884f4d9e | ||
|
|
af87944585 | ||
|
|
36dbe2d74e | ||
|
|
8d8a785bd2 | ||
|
|
d8fbfc7aa1 | ||
|
|
ddce7c28e4 | ||
|
|
fcad0ec015 | ||
|
|
730ab7b019 | ||
|
|
40317f079e | ||
|
|
c0b7d762b2 | ||
|
|
bc2e30453b | ||
|
|
fb72160caf | ||
|
|
85f57859fd | ||
|
|
7b9432d564 | ||
|
|
effab3f91a | ||
|
|
9d47ae824c | ||
|
|
ba8625a701 | ||
|
|
dd8dcb8228 | ||
|
|
061afc7993 | ||
|
|
b64402ede2 | ||
|
|
a14ada5730 | ||
|
|
33db761551 | ||
|
|
1d3e97f2ab | ||
|
|
f7a44ad101 | ||
|
|
7b7a76e161 | ||
|
|
55ecae3e58 | ||
|
|
5a99e527ff | ||
|
|
5e33dabda1 | ||
|
|
fd9b3b2260 | ||
|
|
7fd74fc7a3 | ||
|
|
4deed587e7 | ||
|
|
a3f97eeeeb | ||
|
|
db3115cee9 | ||
|
|
cc201fdcaa | ||
|
|
cec97ebc6f | ||
|
|
73636c2ed0 | ||
|
|
8f6ecbf37b | ||
|
|
4fb2eefac2 | ||
|
|
a36396992d | ||
|
|
e8e574fbe4 | ||
|
|
23e064ad29 | ||
|
|
1a94c70336 | ||
|
|
8581806558 | ||
|
|
e76ea37772 | ||
|
|
2c2deb87f8 | ||
|
|
f10a5ae4d7 | ||
|
|
4b5e39c89c | ||
|
|
cfbbb23141 | ||
|
|
a9f265d166 | ||
|
|
d3f813a14e | ||
|
|
2cda677d06 | ||
|
|
6bd86d1044 | ||
|
|
0f81ecf5f4 | ||
|
|
4e673656a1 | ||
|
|
014924ba89 | ||
|
|
82f5a4ab29 | ||
|
|
175d934cff | ||
|
|
8c86207258 | ||
|
|
d74b7eb144 | ||
|
|
482e771af1 | ||
|
|
3948fcad2d | ||
|
|
bad6c9a427 | ||
|
|
9a64fd7d55 | ||
|
|
91977159ee | ||
|
|
3fab117e4e | ||
|
|
f6f852fd93 | ||
|
|
75825a9f01 | ||
|
|
9ff0f4987f | ||
|
|
8157784483 | ||
|
|
177c401e02 | ||
|
|
0a010a59eb | ||
|
|
779b77a164 | ||
|
|
a443b9f7e7 | ||
|
|
1e4824a841 | ||
|
|
61db4cfac5 | ||
|
|
ca7a1973e2 | ||
|
|
d050f1e622 | ||
|
|
47f32a76ef | ||
|
|
8cb86a583a | ||
|
|
c0da680f13 | ||
|
|
742e059da1 | ||
|
|
97dd7d5103 | ||
|
|
8e12f4a21c | ||
|
|
7601f20d70 | ||
|
|
e8ce1db471 | ||
|
|
ee7fc26de1 | ||
|
|
2fbdee19da | ||
|
|
0e91183300 | ||
|
|
aaba8c1080 | ||
|
|
d4899bd4d5 | ||
|
|
f8132f932d | ||
|
|
33339ae595 | ||
|
|
ecdc14f535 | ||
|
|
7e12b9f47c | ||
|
|
80150a18d3 | ||
|
|
818156f6f7 | ||
|
|
be63ba99ca | ||
|
|
a26305d428 | ||
|
|
e518b22b72 | ||
|
|
9a313f767f | ||
|
|
6a0667567d | ||
|
|
36a28fcb0c | ||
|
|
05f025c075 | ||
|
|
5fd99e62ed | ||
|
|
5653bc61a4 | ||
|
|
0df34b4c96 | ||
|
|
b2fbf93df0 | ||
|
|
c5c93724fe | ||
|
|
0c749d96ea | ||
|
|
928858457b | ||
|
|
bdead39f63 | ||
|
|
702b42eaf3 | ||
|
|
43afcc0d99 | ||
|
|
fe941a26a3 | ||
|
|
ab7c09dc8e | ||
|
|
34b4a490b1 | ||
|
|
989e39d995 | ||
|
|
e2ee223dc2 | ||
|
|
69f018c49e | ||
|
|
fae09456ae | ||
|
|
9f9c3326fe | ||
|
|
21e5ffbcf8 | ||
|
|
ea1499a372 | ||
|
|
c5b5a984cd | ||
|
|
0fcf1d1ae7 | ||
|
|
5fccfed4f4 | ||
|
|
c4d060bf80 | ||
|
|
e40505e489 | ||
|
|
61cd433131 | ||
|
|
e076ae756d | ||
|
|
8215c0ac0e | ||
|
|
b222d4386e | ||
|
|
4d62de3898 | ||
|
|
0ad87649d4 | ||
|
|
9f9a9ac426 | ||
|
|
71d0615e98 | ||
|
|
f3db59d990 | ||
|
|
bc3e691a1e | ||
|
|
51b011ce24 | ||
|
|
d758f4a8a7 | ||
|
|
33ae9f5d44 | ||
|
|
ab1d761865 | ||
|
|
f2e7dda910 | ||
|
|
36b4003118 | ||
|
|
f40b08d8f0 | ||
|
|
250a3987cf | ||
|
|
9688f343a5 | ||
|
|
1fceb2207a | ||
|
|
fa76e4a8c9 | ||
|
|
4091b9c87e | ||
|
|
7d637362b7 | ||
|
|
deb9fa482d | ||
|
|
344009bf26 | ||
|
|
54ae254537 | ||
|
|
b366750e11 | ||
|
|
868b20ce4e | ||
|
|
2b255d0ebf | ||
|
|
b1d65b62db | ||
|
|
1071385896 | ||
|
|
29005ef7b1 | ||
|
|
29ef73f21d | ||
|
|
78cf6e63ff | ||
|
|
5fb63a09f9 | ||
|
|
595891729e | ||
|
|
f285c0a2e5 | ||
|
|
ae66b24369 | ||
|
|
40de3c67cd | ||
|
|
d13cfe10f6 | ||
|
|
a42caac805 | ||
|
|
0539191d18 | ||
|
|
1eb5a700f9 | ||
|
|
e61eb409fd | ||
|
|
ce7ad480f4 | ||
|
|
0e1a057449 | ||
|
|
f87e378d48 | ||
|
|
c2b004ba0e | ||
|
|
22fdcfc71a | ||
|
|
28c1ca1240 | ||
|
|
7ae5c3f7a6 | ||
|
|
5e4e5f7d9d | ||
|
|
f4ca1325ae | ||
|
|
996be85843 | ||
|
|
9a2915ce66 | ||
|
|
b2c5969aff | ||
|
|
21dc5dc92b | ||
|
|
2200ffa8b0 | ||
|
|
3345b25962 | ||
|
|
9edf2418e0 | ||
|
|
1fb87cd196 | ||
|
|
e3fb74942a | ||
|
|
c6a97eb9ce | ||
|
|
82bdbdba24 | ||
|
|
4e0c8b55fb | ||
|
|
afa9f824e7 | ||
|
|
02a2151b2b | ||
|
|
138c2a6b97 | ||
|
|
dffdee966f | ||
|
|
dec5fcd50b | ||
|
|
00e475c434 | ||
|
|
77a4276a8c | ||
|
|
7150b7f28d | ||
|
|
79c99aeb2b | ||
|
|
537f8bcbdb | ||
|
|
882b7d95cc | ||
|
|
980cdd61be | ||
|
|
65be8275da | ||
|
|
316da85818 | ||
|
|
5a6a378725 | ||
|
|
7e98ed93f4 | ||
|
|
9d85367679 | ||
|
|
827f0fd8ef | ||
|
|
23ee243113 | ||
|
|
92e9a5032b | ||
|
|
45c56b80c4 | ||
|
|
36610fb697 | ||
|
|
c97bbd3797 | ||
|
|
b82a51a5cd | ||
|
|
239c146a4b | ||
|
|
fd43c2b99a | ||
|
|
80c1f69b9e | ||
|
|
10d50aadf2 | ||
|
|
82030cd0af | ||
|
|
88dedb8824 | ||
|
|
f786feac0a | ||
|
|
17e11e2c92 | ||
|
|
f6f8436e97 | ||
|
|
3f012eb0f8 | ||
|
|
467102fa78 | ||
|
|
f37b0a10a5 | ||
|
|
12916e229c | ||
|
|
c4f8cc34df | ||
|
|
1ae4b50bde | ||
|
|
8f8d03df46 | ||
|
|
2d549662be | ||
|
|
d8e44dc685 | ||
|
|
1757a31750 | ||
|
|
d4f8f92eb0 | ||
|
|
93b1fe63e5 | ||
|
|
a8bbefbbb4 | ||
|
|
55530bfc0f | ||
|
|
e8a302017f | ||
|
|
b594c34f57 | ||
|
|
92d4cf15f0 | ||
|
|
cd8bd7f617 | ||
|
|
75d7409c4e | ||
|
|
cbedf2f7ca | ||
|
|
e4fce5d6ae | ||
|
|
e1eb298de1 | ||
|
|
82a1316f76 | ||
|
|
93582ad85e | ||
|
|
36b0169ed6 | ||
|
|
cdca9d3c8e | ||
|
|
736f4b3581 | ||
|
|
9d3d8d6fc0 | ||
|
|
e1a3f33a26 | ||
|
|
d5baa0381f | ||
|
|
18b3c49296 | ||
|
|
bf32650c83 | ||
|
|
720d566d03 | ||
|
|
9be71700eb | ||
|
|
72310c87a5 | ||
|
|
0137103f4b | ||
|
|
a74f6b2867 | ||
|
|
68d856f618 | ||
|
|
7e3a6c6b9d | ||
|
|
da62fca305 | ||
|
|
484ca368f0 | ||
|
|
a500c1f0b5 | ||
|
|
9db3099572 | ||
|
|
99d8fc975e | ||
|
|
4d18d39d99 | ||
|
|
0609a5729c | ||
|
|
ec4879ac5b | ||
|
|
6ec6fdaf8c | ||
|
|
2c722277ee | ||
|
|
f88db708ac | ||
|
|
fcf5ad1bd6 | ||
|
|
2f5789bdef | ||
|
|
37f5d8696d | ||
|
|
048dcf288a | ||
|
|
ca0ebe0f71 | ||
|
|
db833f2411 | ||
|
|
a7534dbb7e | ||
|
|
4841c48f81 | ||
|
|
d4e81f9ec8 | ||
|
|
1da0599e0e | ||
|
|
2149a04ca8 | ||
|
|
92a7740e90 | ||
|
|
795e9151a1 | ||
|
|
4569e3e430 | ||
|
|
40aab4c502 | ||
|
|
332a594fd4 | ||
|
|
7870978c2e | ||
|
|
23620b827c | ||
|
|
fa54bd542e | ||
|
|
259c5c0b5f | ||
|
|
515ba0dfb7 | ||
|
|
2be921d883 |
55
.clang-format
Normal file
@@ -0,0 +1,55 @@
|
||||
BasedOnStyle: LLVM
|
||||
# If true, clang-format will attempt to re-flow comments
|
||||
ReflowComments: false
|
||||
# The column limit.
|
||||
ColumnLimit: 100
|
||||
# Indent width for line continuations.
|
||||
ContinuationIndentWidth: 4
|
||||
# The number of columns to use for indentation.
|
||||
IndentWidth: 8
|
||||
# The number of columns used for tab stops.
|
||||
TabWidth: 8
|
||||
UseTab: ForIndentation
|
||||
|
||||
# Options for aligning backslashes in escaped newlines.
|
||||
AlignEscapedNewlines: Left
|
||||
# Short Block Style
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
# If true, short case labels will be contracted to a single line.
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
# Dependent on the value, int f() { return 0; } can be put on a single line.
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
# The brace breaking style to use.
|
||||
BreakBeforeBraces: Custom
|
||||
# Control of individual brace wrapping cases.
|
||||
BraceWrapping:
|
||||
# Wrap brackets inside of a case
|
||||
AfterCaseLabel: true
|
||||
# Wrap class definition.
|
||||
AfterClass: true
|
||||
# Wrap control statements
|
||||
AfterControlStatement: true
|
||||
# Wrap enum definitions.
|
||||
AfterEnum: true
|
||||
# Wrap function definitions.
|
||||
AfterFunction: true
|
||||
# Wrap namespace definitions.
|
||||
AfterNamespace: true
|
||||
# Wrap struct definitions.
|
||||
AfterStruct: true
|
||||
# Wrap union definitions.
|
||||
AfterUnion: true
|
||||
# Wrap extern blocks.
|
||||
AfterExternBlock: false
|
||||
# Wrap before catch.
|
||||
BeforeCatch: true
|
||||
# Wrap before else.
|
||||
BeforeElse: true
|
||||
# Indent the wrapped braces themselves.
|
||||
IndentBraces: false
|
||||
# If false, empty function body can be put on a single line.
|
||||
SplitEmptyFunction: false
|
||||
# If false, empty record (e.g. class, struct or union) body can be put on a single line.
|
||||
SplitEmptyRecord: false
|
||||
# If false, empty namespace body can be put on a single line.
|
||||
SplitEmptyNamespace: false
|
||||
15
.editorconfig
Normal file
@@ -0,0 +1,15 @@
|
||||
# EditorConfig
|
||||
# https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# LF end-of-line, insert an empty new line and UTF-8
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
|
||||
# Tab indentation
|
||||
[makefile,Makefile]
|
||||
indent_style = tab
|
||||
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
Note: for general questions and comments, please use the forums at:
|
||||
https://groups.google.com/g/json-c
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is, and any information about where you're running into the bug that you feel might be relevant.
|
||||
|
||||
**Steps To Reproduce**
|
||||
List the steps to reproduce the behavior.
|
||||
If possible, please attach a sample json file and/or a minimal code example.
|
||||
|
||||
**Version and Platform**
|
||||
- json-c version: [e.g. json-c-0.14, or a specific commit hash]
|
||||
- OS: [e.g. Ubuntu 20.04, Debian Buster, NetBSD 9, etc...]
|
||||
- Custom cmake/build flags, if any
|
||||
108
.gitignore
vendored
@@ -1,34 +1,18 @@
|
||||
# Temp files
|
||||
*~
|
||||
*.swp
|
||||
/INSTALL
|
||||
.deps/
|
||||
.libs/
|
||||
/aclocal.m4
|
||||
/autom4te.cache
|
||||
/config.guess
|
||||
/json_config.h
|
||||
/compile
|
||||
/config.h
|
||||
/config.log
|
||||
/config.status
|
||||
/config.sub
|
||||
/configure
|
||||
/depcomp
|
||||
/doc
|
||||
/install-sh
|
||||
/json.pc
|
||||
/json-c.pc
|
||||
/json-c-uninstalled.pc
|
||||
/libtool
|
||||
/ltmain.sh
|
||||
/Makefile
|
||||
/Makefile.in
|
||||
/missing
|
||||
/stamp-h1
|
||||
/stamp-h2
|
||||
/test-driver
|
||||
*.bak
|
||||
*.backup
|
||||
\#*
|
||||
.\#*
|
||||
*\#
|
||||
*.sav
|
||||
*.save
|
||||
*.autosav
|
||||
*.autosave
|
||||
|
||||
# Tests
|
||||
/tests/Makefile
|
||||
/tests/Makefile.in
|
||||
/tests/test1
|
||||
/tests/test1Formatted
|
||||
/tests/test2
|
||||
@@ -36,20 +20,76 @@
|
||||
/tests/test4
|
||||
/tests/testReplaceExisting
|
||||
/tests/testSubDir
|
||||
/tests/test_parse_int64
|
||||
/tests/test_parse
|
||||
/tests/test_cast
|
||||
/tests/test_charcase
|
||||
/tests/test_compare
|
||||
/tests/test_deep_copy
|
||||
/tests/test_double_serializer
|
||||
/tests/test_float
|
||||
/tests/test_int_add
|
||||
/tests/test_int_get
|
||||
/tests/test_json_pointer
|
||||
/tests/test_locale
|
||||
/tests/test_null
|
||||
/tests/test_parse
|
||||
/tests/test_parse_int64
|
||||
/tests/test_printbuf
|
||||
/tests/test_set_serializer
|
||||
/tests/test_set_value
|
||||
/tests/test_util_file
|
||||
/tests/test_visit
|
||||
/tests/*.vg.out
|
||||
/tests/*.log
|
||||
/tests/*.trs
|
||||
|
||||
# Generated folders
|
||||
/build
|
||||
/Debug
|
||||
/Release
|
||||
*.lo
|
||||
*.o
|
||||
/libjson-c.la
|
||||
/libjson.la
|
||||
/*/Debug
|
||||
/*/Release
|
||||
|
||||
# Archives
|
||||
*.zip
|
||||
*.tar.*
|
||||
*.tgz
|
||||
*.gz
|
||||
*.bz2
|
||||
*.xz
|
||||
*.lz
|
||||
*.lzma
|
||||
*.7z
|
||||
*.dll
|
||||
*.deb
|
||||
*.rpm
|
||||
*.apk
|
||||
*.exe
|
||||
*.msi
|
||||
*.dmg
|
||||
*.ipa
|
||||
|
||||
# It's not good practice to build directly in the source tree
|
||||
# but ignore cmake auto-generated files anyway:
|
||||
/json_config.h
|
||||
/json.h
|
||||
/config.h
|
||||
/json-c.pc
|
||||
/Makefile
|
||||
/CMakeCache.txt
|
||||
/CMakeFiles
|
||||
/CMakeDoxyfile.in
|
||||
/*.cmake
|
||||
/DartConfiguration.tcl
|
||||
/tests/CMakeFiles/
|
||||
/tests/*.cmake
|
||||
/Testing/
|
||||
|
||||
# ...and build artifacts.
|
||||
/doc/html
|
||||
/libjson-c.a
|
||||
/libjson-c.so
|
||||
/libjson-c.so.*
|
||||
|
||||
# Benchmarking input and output
|
||||
/bench/data
|
||||
/bench/work
|
||||
|
||||
147
.travis.yml
Normal file
@@ -0,0 +1,147 @@
|
||||
language: cpp
|
||||
matrix:
|
||||
include:
|
||||
|
||||
# ubuntu xenial 16.04
|
||||
# gcc 5 is the default on xenial
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
|
||||
# ubuntu bionic 18.04
|
||||
# gcc 7 is the default on bionic
|
||||
- os: linux
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
|
||||
# ubuntu focal fossa 20.04
|
||||
# gcc 9 is the default on bionic
|
||||
- os: linux
|
||||
dist: focal
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
|
||||
# clang
|
||||
# xenial
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- llvm-toolchain-xenial-6.0
|
||||
packages:
|
||||
- clang-6.0
|
||||
- cmake
|
||||
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
|
||||
|
||||
# clang-7 is the default on focal, xenial and bionic
|
||||
- os: linux
|
||||
dist: focal
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- valgrind
|
||||
- cppcheck
|
||||
- doxygen
|
||||
- cmake
|
||||
env: CHECK="true"
|
||||
|
||||
# osx
|
||||
- os: osx
|
||||
osx_image: xcode13.4
|
||||
env: XCODE="true" CHECK="true"
|
||||
|
||||
# run coveralls
|
||||
- os: linux
|
||||
dist: xenial
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lcov
|
||||
env: CHECK="true"
|
||||
before_install:
|
||||
- sudo gem install coveralls-lcov
|
||||
- echo $CC
|
||||
- echo $LANG
|
||||
- echo $LC_ALL
|
||||
- set -e
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
eval "${MATRIX_EVAL}";
|
||||
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
|
||||
sudo apt-get install -y $CC;
|
||||
fi;
|
||||
fi
|
||||
before_script:
|
||||
- export CFLAGS="-fprofile-arcs -ftest-coverage"
|
||||
- mkdir build && cd build && cmake ..
|
||||
script:
|
||||
- make
|
||||
- make test
|
||||
after_success:
|
||||
- cd ..
|
||||
- lcov -d build/ -b . -c -o build/all_coverage.info
|
||||
- lcov -r build/all_coverage.info '/usr/*' '*CMakeFiles*' '*fuzz*' '*test*' -o build/coverage.info
|
||||
- coveralls-lcov --verbose build/coverage.info
|
||||
|
||||
# allow_failures:
|
||||
# - os: osx
|
||||
|
||||
before_install:
|
||||
- echo $CC
|
||||
- echo $LANG
|
||||
- echo $LC_ALL
|
||||
- set -e
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||
eval "${MATRIX_EVAL}";
|
||||
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
|
||||
sudo apt-get install -y $CC;
|
||||
fi;
|
||||
fi
|
||||
|
||||
before_script:
|
||||
# XXX osx on travis doesn't work w/ set -e, so turn it off :(
|
||||
- set +e
|
||||
- mkdir -p build || echo "Failed to mkdir build"
|
||||
- cd build || echo "Failed to cd build"
|
||||
- cmake .. || echo "Failed to run cmake"
|
||||
|
||||
script:
|
||||
- make
|
||||
# when using bionic, Travis seems to ignore the "addons" section, so installing the packages with apt-get...
|
||||
- if [ -n "$CHECK" ]; then
|
||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
brew install doxygen;
|
||||
else
|
||||
if [ "$TRAVIS_DIST" = "bionic" ]; then
|
||||
sudo apt-get install -y valgrind cppcheck doxygen;
|
||||
fi;
|
||||
fi;
|
||||
make distcheck;
|
||||
if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi;
|
||||
fi
|
||||
82
AUTHORS
@@ -1,5 +1,79 @@
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
Jehiah Czebotar <jehiah@gmail.com>
|
||||
Eric Haszlakiewicz <hawicz+json-c@gmail.com>
|
||||
Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Alan Urmancheev <108410815+alurm@users.noreply.github.com>
|
||||
Alexander Dahl <post@lespocky.de>
|
||||
Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||
An7ar35 <eadavison@protonmail.com>
|
||||
andy5995 <andy400-dev@yahoo.com>
|
||||
Aram Poghosyan <Aram.Poghosyan@teamviewer.com>
|
||||
Björn Esser <besser82@fedoraproject.org>
|
||||
BonsaY <bonsay@posteo.de>
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
changyong guo <guo1487@163.com>
|
||||
chenguoping <chenguopingdota@163.com>
|
||||
Chris Lamb <lamby@debian.org>
|
||||
Christopher Head <chead@chead.ca>
|
||||
Chris Wolfe <chriswwolfe@gmail.com>
|
||||
C. Watford (christopher.watford@gmail.com)
|
||||
|
||||
Daniel Danzberger <daniel@dd-wrt.com>
|
||||
Darjan Krijan <darjan_krijan@gmx.de>
|
||||
David McCann <mccannd@uk.ibm.com>
|
||||
DeX77 <dex@dragonslave.de>
|
||||
Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
|
||||
dota17 <chenguopingdota@163.com>
|
||||
Eric Haszlakiewicz <erh+git@nimenees.com>
|
||||
Eric Hawicz <erh+git@nimenees.com>
|
||||
Even Rouault <even.rouault@spatialys.com>
|
||||
evo <149657734+evo-i@users.noreply.github.com>
|
||||
Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Federico Francescon <federico.francescon@higeco.com>
|
||||
Gianluigi Tiesi <sherpya@netfarm.it>
|
||||
grdowns <grdowns@microsoft.com>
|
||||
HansolChoe <hansol614@gmail.com>
|
||||
Hex052 <elijahiff@gmail.com>
|
||||
hofnarr <hofnarr@hofnarr.fi>
|
||||
ihsinme <61293369+ihsinme@users.noreply.github.com>
|
||||
Ivan Romanov <drizt@land.ru>
|
||||
Jaap Keuter <jaap.keuter@xs4all.nl>
|
||||
Jakov Smolic <jakov.smolic@sartura.hr>
|
||||
janczer <menshikov.ivn@gmail.com>
|
||||
JC (Jonathan Chen) <jc@dijonkitchen.org>
|
||||
Jehan <jehan@girinstud.io>
|
||||
Jehiah Czebotar <jehiah@gmail.com>
|
||||
Jonathan Wiens <j.wiens@teles.com>
|
||||
Jose Bollo <jose.bollo@iot.bzh>
|
||||
José Bollo <jose.bollo@iot.bzh>
|
||||
Juuso Alasuutari <juuso.alasuutari@gmail.com>
|
||||
Keith Holman <keith.holman@windriver.com>
|
||||
Khem Raj <raj.khem@gmail.com>
|
||||
Kizuna-Meraki <z9@kizunameraki.de>
|
||||
Leon Gross <leon.gross@rub.de>
|
||||
Liang, Gao <liang.gao@intel.com>
|
||||
Luca Mannella <luca.mannella@studenti.polito.it>
|
||||
Marc <34656315+MarcT512@users.noreply.github.com>
|
||||
Matthias Gatto <matthias.gatto@protonmail.com>
|
||||
max <mpano91@gmail.com>
|
||||
Micah Snyder <micasnyd@cisco.com>
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
myd7349 <myd7349@gmail.com>
|
||||
Pascal Cuoq <cuoq@trust-in-soft.com>
|
||||
Pavel Zwerschke <pavelzw@gmail.com>
|
||||
Pawday <pawday@mail.ru>
|
||||
Philosoph228 <philosoph228@gmail.com>
|
||||
Pierce Lopez <pierce.lopez@gmail.com>
|
||||
Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
||||
Ramiro Polla <ramiro.polla@gmail.com>
|
||||
Rikard Falkeborn <rikard.falkeborn@gmail.com>
|
||||
Robert Bielik <robert.bielik@dirac.com>
|
||||
Robert Pang <robertpang@google.com>
|
||||
Robert <roby_p97@yahoo.com>
|
||||
Rolf Eike Beer <eb@emlix.com>
|
||||
Rosen Penev <rosenp@gmail.com>
|
||||
Rubasri Kalidas <rubasri.kalidas@intel.com>
|
||||
Sergey Sharshunov <s.sharshunov@gmail.com>
|
||||
Simon McVittie <smcv@collabora.com>
|
||||
ssrlive <30760636+ssrlive@users.noreply.github.com>
|
||||
Tobias Nießen <tniessen@users.noreply.github.com>
|
||||
Tobias Stoeckmann <tobias@stoeckmann.org>
|
||||
Tudor Brindus <me@tbrindus.ca>
|
||||
Unmanned Player <36690541+unmanned-player@users.noreply.github.com>
|
||||
Yurii Rashkovskii <yrashk@gmail.com>
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
# This file is the top android makefile for all sub-modules.
|
||||
#
|
||||
# Suggested settings to build for Android:
|
||||
#
|
||||
# export PATH=$PATH:/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/
|
||||
# export SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm/usr/
|
||||
# export LD=arm-linux-androideabi-ld
|
||||
# export CC="arm-linux-androideabi-gcc --sysroot=/opt/android-ndk/platforms/android-9/arch-arm"
|
||||
#
|
||||
# Then run autogen.sh, configure and make.
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
587
CMakeLists.txt
Normal file
@@ -0,0 +1,587 @@
|
||||
# CMake 3.9 was released in 2017/07
|
||||
# As of 2023, many versions of Linux, NetBSD and FreeBSD provide,
|
||||
# and many OpenWRT packages require, much newer CMake packages.
|
||||
# We're stopping before 3.10 because that version starts requiring
|
||||
# c++11, which isn't available on e.g HPUX.
|
||||
cmake_minimum_required(VERSION 3.9...3.12)
|
||||
|
||||
# JSON-C library is C only project.
|
||||
# PROJECT_VERSION{,_MAJOR,_MINOR,_PATCH} set by project():
|
||||
project(json-c LANGUAGES C VERSION 0.18)
|
||||
|
||||
# set default build type if not specified by user
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE debug)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
|
||||
|
||||
include(CTest)
|
||||
|
||||
# Set some packaging variables.
|
||||
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
|
||||
set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
|
||||
set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
|
||||
set(JSON_C_BUGREPORT "json-c@googlegroups.com")
|
||||
set(CPACK_SOURCE_IGNORE_FILES
|
||||
${PROJECT_SOURCE_DIR}/build
|
||||
${PROJECT_SOURCE_DIR}/cmake-build-debug
|
||||
${PROJECT_SOURCE_DIR}/pack
|
||||
${PROJECT_SOURCE_DIR}/.idea
|
||||
${PROJECT_SOURCE_DIR}/.DS_Store
|
||||
${PROJECT_SOURCE_DIR}/.git
|
||||
${PROJECT_SOURCE_DIR}/.vscode)
|
||||
|
||||
include(CheckSymbolExists)
|
||||
include(CheckIncludeFile)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckCSourceCompiles)
|
||||
include(CheckTypeSize)
|
||||
include(CPack)
|
||||
include(GNUInstallDirs)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Default to building shared libraries" ON)
|
||||
option(BUILD_STATIC_LIBS "Default to building static libraries" ON)
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
add_definitions(-D JSON_C_DLL)
|
||||
endif()
|
||||
|
||||
# Generate a release merge and test it to verify the correctness of republishing the package.
|
||||
ADD_CUSTOM_TARGET(distcheck
|
||||
COMMAND make package_source
|
||||
COMMAND tar -xvf "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source.tar.gz"
|
||||
COMMAND mkdir "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source/build"
|
||||
COMMAND cmake "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source/" -B"./${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source/build/"
|
||||
COMMAND make -C "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source/build"
|
||||
COMMAND make test -C "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source/build"
|
||||
COMMAND rm -rf "${PROJECT_NAME}-${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}-Source"
|
||||
)
|
||||
|
||||
# Enable or disable features. By default, all features are turned off.
|
||||
option(DISABLE_BSYMBOLIC "Avoid linking with -Bsymbolic-function." OFF)
|
||||
option(DISABLE_THREAD_LOCAL_STORAGE "Disable using Thread-Local Storage (HAVE___THREAD)." OFF)
|
||||
option(DISABLE_WERROR "Avoid treating compiler warnings as fatal errors." OFF)
|
||||
option(ENABLE_RDRAND "Enable RDRAND Hardware RNG Hash Seed." OFF)
|
||||
option(ENABLE_THREADING "Enable partial threading support." OFF)
|
||||
option(OVERRIDE_GET_RANDOM_SEED "Override json_c_get_random_seed() with custom code." OFF)
|
||||
option(DISABLE_EXTRA_LIBS "Avoid linking against extra libraries, such as libbsd." OFF)
|
||||
option(DISABLE_JSON_POINTER "Disable JSON pointer (RFC6901) and JSON patch support." OFF)
|
||||
option(DISABLE_JSON_PATCH "Disable JSON patch (RFC6902) support." OFF)
|
||||
option(NEWLOCALE_NEEDS_FREELOCALE "Work around newlocale bugs in old FreeBSD by calling freelocale" OFF)
|
||||
option(BUILD_APPS "Default to building apps" ON)
|
||||
|
||||
|
||||
if (UNIX OR MINGW OR CYGWIN)
|
||||
list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
list(APPEND CMAKE_REQUIRED_DEFINITIONS /D_CRT_SECURE_NO_DEPRECATE)
|
||||
list(APPEND CMAKE_REQUIRED_FLAGS /wd4996)
|
||||
endif()
|
||||
|
||||
if (NOT DISABLE_STATIC_FPIC)
|
||||
# Use '-fPIC'/'-fPIE' option.
|
||||
# This will allow other libraries to statically link in libjson-c.a
|
||||
# which in turn prevents crashes in downstream apps that may use
|
||||
# a different JSON library with identical symbol names.
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
check_include_file("fcntl.h" HAVE_FCNTL_H)
|
||||
check_include_file("inttypes.h" HAVE_INTTYPES_H)
|
||||
check_include_file(stdarg.h HAVE_STDARG_H)
|
||||
check_include_file(strings.h HAVE_STRINGS_H)
|
||||
check_include_file(string.h HAVE_STRING_H)
|
||||
check_include_file(syslog.h HAVE_SYSLOG_H)
|
||||
|
||||
|
||||
check_include_files("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
|
||||
|
||||
check_include_file(unistd.h HAVE_UNISTD_H)
|
||||
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
||||
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
|
||||
|
||||
check_include_file("dlfcn.h" HAVE_DLFCN_H)
|
||||
check_include_file("endian.h" HAVE_ENDIAN_H)
|
||||
check_include_file("limits.h" HAVE_LIMITS_H)
|
||||
check_include_file("locale.h" HAVE_LOCALE_H)
|
||||
check_include_file("memory.h" HAVE_MEMORY_H)
|
||||
|
||||
check_include_file(stdint.h HAVE_STDINT_H)
|
||||
check_include_file(stdlib.h HAVE_STDLIB_H)
|
||||
check_include_file(sys/cdefs.h HAVE_SYS_CDEFS_H)
|
||||
check_include_file(sys/param.h HAVE_SYS_PARAM_H)
|
||||
check_include_file(sys/random.h HAVE_SYS_RANDOM_H)
|
||||
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
|
||||
check_include_file(xlocale.h HAVE_XLOCALE_H)
|
||||
|
||||
# Set json-c specific vars to stamp into json_config.h
|
||||
# in a way that hopefully won't conflict with other
|
||||
# projects that use json-c.
|
||||
if (HAVE_INTTYPES_H)
|
||||
set(JSON_C_HAVE_INTTYPES_H 1)
|
||||
endif()
|
||||
if (HAVE_STDINT_H)
|
||||
set(JSON_C_HAVE_STDINT_H 1)
|
||||
endif()
|
||||
|
||||
check_symbol_exists(_isnan "float.h" HAVE_DECL__ISNAN)
|
||||
check_symbol_exists(_finite "float.h" HAVE_DECL__FINITE)
|
||||
|
||||
if ((MSVC AND NOT (MSVC_VERSION LESS 1800)) OR MINGW OR CYGWIN OR UNIX)
|
||||
check_symbol_exists(INFINITY "math.h" HAVE_DECL_INFINITY)
|
||||
check_symbol_exists(isinf "math.h" HAVE_DECL_ISINF)
|
||||
check_symbol_exists(isnan "math.h" HAVE_DECL_ISNAN)
|
||||
check_symbol_exists(nan "math.h" HAVE_DECL_NAN)
|
||||
endif()
|
||||
|
||||
check_symbol_exists(_doprnt "stdio.h" HAVE_DOPRNT)
|
||||
if (UNIX OR MINGW OR CYGWIN)
|
||||
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
|
||||
endif()
|
||||
check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF)
|
||||
check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF)
|
||||
check_symbol_exists(vprintf "stdio.h" HAVE_VPRINTF)
|
||||
|
||||
check_symbol_exists(arc4random "stdlib.h" HAVE_ARC4RANDOM)
|
||||
if (NOT HAVE_ARC4RANDOM AND DISABLE_EXTRA_LIBS STREQUAL "OFF")
|
||||
check_include_file(bsd/stdlib.h HAVE_BSD_STDLIB_H)
|
||||
if (HAVE_BSD_STDLIB_H)
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "bsd")
|
||||
unset(HAVE_ARC4RANDOM CACHE)
|
||||
check_symbol_exists(arc4random "bsd/stdlib.h" HAVE_ARC4RANDOM)
|
||||
if (NOT HAVE_ARC4RANDOM)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "bsd")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (HAVE_FCNTL_H)
|
||||
check_symbol_exists(open "fcntl.h" HAVE_OPEN)
|
||||
endif()
|
||||
if (HAVE_STDLIB_H)
|
||||
check_symbol_exists(realloc "stdlib.h" HAVE_REALLOC)
|
||||
endif()
|
||||
if (HAVE_LOCALE_H)
|
||||
check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE)
|
||||
check_symbol_exists(uselocale "locale.h" HAVE_USELOCALE)
|
||||
endif()
|
||||
|
||||
# uClibc *intentionally* crashes in duplocale(), at least as of:
|
||||
# https://github.com/ffainelli/uClibc/blob/266bdc1/libc/misc/locale/locale.c#L1322
|
||||
# So, if it looks like we're compiling for a system like that just disable
|
||||
# locale handling entirely.
|
||||
execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpmachine ERROR_QUIET OUTPUT_VARIABLE CMAKE_GNU_C_MACHINE)
|
||||
|
||||
if (CMAKE_GNU_C_MACHINE MATCHES "uclibc")
|
||||
message(STATUS "Detected uClibc compiler, disabling locale handling")
|
||||
set(HAVE_SETLOCALE 0)
|
||||
set(HAVE_USELOCALE 0)
|
||||
endif()
|
||||
|
||||
if (HAVE_STRINGS_H)
|
||||
check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP)
|
||||
check_symbol_exists(strncasecmp "strings.h" HAVE_STRNCASECMP)
|
||||
endif()
|
||||
if (HAVE_STRING_H)
|
||||
check_symbol_exists(strdup "string.h" HAVE_STRDUP)
|
||||
check_symbol_exists(strerror "string.h" HAVE_STRERROR)
|
||||
endif()
|
||||
if (HAVE_SYSLOG_H)
|
||||
check_symbol_exists(vsyslog "syslog.h" HAVE_VSYSLOG)
|
||||
endif()
|
||||
if (HAVE_SYS_RANDOM_H)
|
||||
check_symbol_exists(getrandom "sys/random.h" HAVE_GETRANDOM)
|
||||
endif()
|
||||
if (HAVE_SYS_RESOURCE_H)
|
||||
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
|
||||
endif()
|
||||
|
||||
check_symbol_exists(strtoll "stdlib.h" HAVE_STRTOLL)
|
||||
check_symbol_exists(strtoull "stdlib.h" HAVE_STRTOULL)
|
||||
|
||||
set(json_c_strtoll "strtoll")
|
||||
if (NOT HAVE_STRTOLL)
|
||||
# Use _strtoi64 if strtoll is not available.
|
||||
check_symbol_exists(_strtoi64 "stdlib.h" __have_strtoi64)
|
||||
if (__have_strtoi64)
|
||||
#set(HAVE_STRTOLL 1)
|
||||
set(json_c_strtoll "_strtoi64")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(json_c_strtoull "strtoull")
|
||||
if (NOT HAVE_STRTOULL)
|
||||
# Use _strtoui64 if strtoull is not available.
|
||||
check_symbol_exists(_strtoui64 "stdlib.h" __have_strtoui64)
|
||||
if (__have_strtoui64)
|
||||
#set(HAVE_STRTOULL 1)
|
||||
set(json_c_strtoull "_strtoui64")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
check_type_size(int SIZEOF_INT)
|
||||
check_type_size(int64_t SIZEOF_INT64_T)
|
||||
check_type_size(long SIZEOF_LONG)
|
||||
check_type_size("long long" SIZEOF_LONG_LONG)
|
||||
check_type_size("size_t" SIZEOF_SIZE_T)
|
||||
if (MSVC)
|
||||
list(APPEND CMAKE_EXTRA_INCLUDE_FILES BaseTsd.h)
|
||||
check_type_size("SSIZE_T" SIZEOF_SSIZE_T)
|
||||
else()
|
||||
check_type_size("ssize_t" SIZEOF_SSIZE_T)
|
||||
endif()
|
||||
|
||||
check_c_source_compiles(
|
||||
"
|
||||
extern void json_object_get();
|
||||
__asm__(\".section .gnu.json_object_get\\n\\t.ascii \\\"Please link against libjson-c instead of libjson\\\"\\n\\t.text\");
|
||||
int main(int c, char *v) { return 0;}
|
||||
"
|
||||
HAS_GNU_WARNING_LONG)
|
||||
|
||||
check_c_source_compiles(
|
||||
"int main() { int i, x = 0; i = __sync_add_and_fetch(&x,1); return x; }"
|
||||
HAVE_ATOMIC_BUILTINS)
|
||||
|
||||
if (NOT DISABLE_THREAD_LOCAL_STORAGE)
|
||||
check_c_source_compiles(
|
||||
"__thread int x = 0; int main() { return 0; }"
|
||||
HAVE___THREAD)
|
||||
|
||||
if (HAVE___THREAD)
|
||||
set(SPEC___THREAD __thread)
|
||||
elseif (MSVC)
|
||||
set(SPEC___THREAD __declspec(thread))
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Hardware random number is not available on Windows? Says, config.h.win32. Best to preserve compatibility.
|
||||
if (WIN32)
|
||||
set(ENABLE_RDRAND 0)
|
||||
endif()
|
||||
|
||||
# Once we've done basic symbol/header searches let's add them in.
|
||||
configure_file(${PROJECT_SOURCE_DIR}/cmake/config.h.in ${PROJECT_BINARY_DIR}/config.h)
|
||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/config.h")
|
||||
configure_file(${PROJECT_SOURCE_DIR}/cmake/json_config.h.in ${PROJECT_BINARY_DIR}/json_config.h)
|
||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/json_config.h")
|
||||
|
||||
if (NOT DEFINED CMAKE_C_COMPILER_FRONTEND_VARIANT OR "${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "") # only available in cmake 3.14+
|
||||
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
|
||||
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
|
||||
# Detect clang-cl.exe, it is Clang but with MSVC compatible command line arguments
|
||||
execute_process (COMMAND ${CMAKE_C_COMPILER} -? ERROR_QUIET OUTPUT_QUIET RESULT_VARIABLE _clang_result)
|
||||
if (_clang_result EQUAL 0)
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
|
||||
else()
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
message(STATUS, "clang result is NOT 0")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "Clang")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections")
|
||||
if ("${DISABLE_WERROR}" STREQUAL "OFF")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
||||
endif()
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wcast-qual")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=deprecated-declarations")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wwrite-strings")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
|
||||
if (NOT WIN32)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes")
|
||||
endif()
|
||||
|
||||
add_definitions(-D_GNU_SOURCE)
|
||||
|
||||
if ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "Clang")
|
||||
# Remove this for 1.0 when we can bump the ABI and actually fix these warnings.
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-shorten-64-to-32")
|
||||
endif()
|
||||
elseif ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /DEBUG")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4100")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4996")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4706")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4702")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4701")
|
||||
endif()
|
||||
|
||||
if (NOT ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
|
||||
check_c_source_compiles(
|
||||
"
|
||||
/* uClibc toolchains without threading barf when _REENTRANT is defined */
|
||||
#define _REENTRANT 1
|
||||
#include <sys/types.h>
|
||||
int main (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
"
|
||||
REENTRANT_WORKS
|
||||
)
|
||||
if (REENTRANT_WORKS)
|
||||
add_compile_options("-D_REENTRANT")
|
||||
endif()
|
||||
|
||||
# OSX Mach-O doesn't support linking with '-Bsymbolic-functions'.
|
||||
# Others may not support it, too.
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||
check_c_source_compiles(
|
||||
"
|
||||
int main (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
"
|
||||
BSYMBOLIC_WORKS
|
||||
)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
|
||||
if (DISABLE_BSYMBOLIC STREQUAL "OFF" AND BSYMBOLIC_WORKS)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-Bsymbolic-functions")
|
||||
# XXX need cmake>=3.13 for this:
|
||||
#add_link_options("-Wl,-Bsymbolic-functions")
|
||||
endif()
|
||||
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym" "TEST { global: *; };")
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym")
|
||||
check_c_source_compiles(
|
||||
"
|
||||
int main (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
"
|
||||
VERSION_SCRIPT_WORKS
|
||||
)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/check-version-script.sym")
|
||||
if (VERSION_SCRIPT_WORKS)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/json-c.sym")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if ($ENV{VALGRIND})
|
||||
# Build so that valgrind doesn't complain about linkhash.c
|
||||
add_definitions(-DVALGRIND=1)
|
||||
endif()
|
||||
|
||||
set(JSON_C_PUBLIC_HEADERS
|
||||
# Note: config.h is _not_ included here
|
||||
${PROJECT_BINARY_DIR}/json_config.h
|
||||
|
||||
${PROJECT_BINARY_DIR}/json.h
|
||||
${PROJECT_SOURCE_DIR}/arraylist.h
|
||||
${PROJECT_SOURCE_DIR}/debug.h
|
||||
${PROJECT_SOURCE_DIR}/json_c_version.h
|
||||
${PROJECT_SOURCE_DIR}/json_inttypes.h
|
||||
${PROJECT_SOURCE_DIR}/json_object.h
|
||||
${PROJECT_SOURCE_DIR}/json_object_iterator.h
|
||||
${PROJECT_SOURCE_DIR}/json_tokener.h
|
||||
${PROJECT_SOURCE_DIR}/json_types.h
|
||||
${PROJECT_SOURCE_DIR}/json_util.h
|
||||
${PROJECT_SOURCE_DIR}/json_visit.h
|
||||
${PROJECT_SOURCE_DIR}/linkhash.h
|
||||
${PROJECT_SOURCE_DIR}/printbuf.h
|
||||
)
|
||||
|
||||
set(JSON_C_HEADERS
|
||||
${JSON_C_PUBLIC_HEADERS}
|
||||
${PROJECT_SOURCE_DIR}/json_object_private.h
|
||||
${PROJECT_SOURCE_DIR}/json_pointer_private.h
|
||||
${PROJECT_SOURCE_DIR}/random_seed.h
|
||||
${PROJECT_SOURCE_DIR}/strerror_override.h
|
||||
${PROJECT_SOURCE_DIR}/math_compat.h
|
||||
${PROJECT_SOURCE_DIR}/snprintf_compat.h
|
||||
${PROJECT_SOURCE_DIR}/strdup_compat.h
|
||||
${PROJECT_SOURCE_DIR}/vasprintf_compat.h
|
||||
)
|
||||
|
||||
set(JSON_C_SOURCES
|
||||
${PROJECT_SOURCE_DIR}/arraylist.c
|
||||
${PROJECT_SOURCE_DIR}/debug.c
|
||||
${PROJECT_SOURCE_DIR}/json_c_version.c
|
||||
${PROJECT_SOURCE_DIR}/json_object.c
|
||||
${PROJECT_SOURCE_DIR}/json_object_iterator.c
|
||||
${PROJECT_SOURCE_DIR}/json_tokener.c
|
||||
${PROJECT_SOURCE_DIR}/json_util.c
|
||||
${PROJECT_SOURCE_DIR}/json_visit.c
|
||||
${PROJECT_SOURCE_DIR}/linkhash.c
|
||||
${PROJECT_SOURCE_DIR}/printbuf.c
|
||||
${PROJECT_SOURCE_DIR}/random_seed.c
|
||||
${PROJECT_SOURCE_DIR}/strerror_override.c
|
||||
)
|
||||
|
||||
if (NOT DISABLE_JSON_POINTER)
|
||||
set(JSON_C_PUBLIC_HEADERS ${JSON_C_PUBLIC_HEADERS} ${PROJECT_SOURCE_DIR}/json_pointer.h)
|
||||
set(JSON_C_SOURCES ${JSON_C_SOURCES} ${PROJECT_SOURCE_DIR}/json_pointer.c)
|
||||
set(JSON_H_JSON_POINTER "#include \"json_pointer.h\"")
|
||||
|
||||
if (NOT DISABLE_JSON_PATCH)
|
||||
set(JSON_C_PUBLIC_HEADERS ${JSON_C_PUBLIC_HEADERS} ${PROJECT_SOURCE_DIR}/json_patch.h)
|
||||
set(JSON_C_SOURCES ${JSON_C_SOURCES} ${PROJECT_SOURCE_DIR}/json_patch.c)
|
||||
set(JSON_H_JSON_PATCH "#include \"json_patch.h\"")
|
||||
endif()
|
||||
else()
|
||||
set(JSON_H_JSON_POINTER "")
|
||||
set(JSON_H_JSON_PATCH "")
|
||||
endif()
|
||||
|
||||
configure_file(json.h.cmakein ${PROJECT_BINARY_DIR}/json.h @ONLY)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
add_subdirectory(doc)
|
||||
|
||||
# "uninstall" custom target for make generators in unix like operating systems
|
||||
# and if that target is not present
|
||||
if (CMAKE_GENERATOR STREQUAL "Unix Makefiles")
|
||||
if(NOT TARGET uninstall)
|
||||
add_custom_target(uninstall
|
||||
COMMAND cat ${PROJECT_BINARY_DIR}/install_manifest.txt | xargs rm
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# XXX for a normal full distribution we'll need to figure out
|
||||
# XXX how to build both shared and static libraries.
|
||||
# Probably leverage that to build a local VALGRIND=1 library for testing too.
|
||||
add_library(${PROJECT_NAME}
|
||||
${JSON_C_SOURCES}
|
||||
${JSON_C_HEADERS}
|
||||
)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
VERSION 5.4.0
|
||||
SOVERSION 5)
|
||||
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
||||
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
||||
# to build external target without extra include_directories(...)
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${CMAKE_REQUIRED_LIBRARIES})
|
||||
|
||||
# Allow to build static and shared libraries at the same time
|
||||
if (BUILD_STATIC_LIBS AND BUILD_SHARED_LIBS)
|
||||
set(STATIC_LIB ${PROJECT_NAME}-static)
|
||||
add_library(${STATIC_LIB} STATIC
|
||||
${JSON_C_SOURCES}
|
||||
${JSON_C_HEADERS}
|
||||
)
|
||||
target_include_directories(${PROJECT_NAME}-static
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}-static PUBLIC ${CMAKE_REQUIRED_LIBRARIES})
|
||||
|
||||
# rename the static library
|
||||
if (NOT MSVC)
|
||||
set_target_properties(${STATIC_LIB} PROPERTIES
|
||||
OUTPUT_NAME ${PROJECT_NAME}
|
||||
)
|
||||
endif()
|
||||
list(APPEND CMAKE_TARGETS ${STATIC_LIB})
|
||||
endif ()
|
||||
|
||||
# Always create new install dirs with 0755 permissions, regardless of umask
|
||||
set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
|
||||
OWNER_READ
|
||||
OWNER_WRITE
|
||||
OWNER_EXECUTE
|
||||
GROUP_READ
|
||||
GROUP_EXECUTE
|
||||
WORLD_READ
|
||||
WORLD_EXECUTE
|
||||
)
|
||||
|
||||
install(TARGETS ${CMAKE_TARGETS}
|
||||
EXPORT ${PROJECT_NAME}-targets
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ${CMAKE_INSTALL_INCLUDEDIR}/json-c
|
||||
)
|
||||
|
||||
install(EXPORT ${PROJECT_NAME}-targets
|
||||
FILE ${PROJECT_NAME}-targets.cmake
|
||||
NAMESPACE ${PROJECT_NAME}::
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
||||
)
|
||||
|
||||
configure_package_config_file(
|
||||
"cmake/Config.cmake.in"
|
||||
${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
|
||||
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
|
||||
)
|
||||
|
||||
install(
|
||||
FILES ${PROJECT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
|
||||
)
|
||||
|
||||
SET(prefix ${CMAKE_INSTALL_PREFIX})
|
||||
# exec_prefix is prefix by default and CMake does not have the
|
||||
# concept.
|
||||
SET(exec_prefix ${CMAKE_INSTALL_PREFIX})
|
||||
SET(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
|
||||
SET(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
||||
SET(VERSION ${PROJECT_VERSION})
|
||||
|
||||
# Linking against the static json-c requires
|
||||
# dependent packages to include additional libs:
|
||||
SET(LIBS_LIST ${CMAKE_REQUIRED_LIBRARIES})
|
||||
|
||||
# Note: We would need cmake >= 3.12 in order to use list(TRANSFORM ...)
|
||||
function(list_transform_prepend var prefix)
|
||||
set(temp "")
|
||||
foreach(f ${${var}})
|
||||
list(APPEND temp "${prefix}${f}")
|
||||
endforeach()
|
||||
set(${var} "${temp}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
list_transform_prepend(LIBS_LIST "-l")
|
||||
|
||||
string(REPLACE ";" " " LIBS "${LIBS_LIST}")
|
||||
|
||||
configure_file(json-c.pc.in json-c.pc @ONLY)
|
||||
set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
|
||||
install(FILES ${PROJECT_BINARY_DIR}/json-c.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}")
|
||||
|
||||
install(FILES ${JSON_C_PUBLIC_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/json-c)
|
||||
|
||||
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
|
||||
(NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
|
||||
)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_APPS)
|
||||
# skip apps when we're included in someone else's build
|
||||
if (NOT MSVC) # cmd line apps don't built on Windows currently.
|
||||
add_subdirectory(apps)
|
||||
endif()
|
||||
endif()
|
||||
459
ChangeLog
@@ -1,5 +1,433 @@
|
||||
0.18 (up to commit 6bfab90, 2023-09-15)
|
||||
========================================
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* Clean up pre-3.9 CMake support in CMakeLists.txt
|
||||
|
||||
New features
|
||||
------------
|
||||
* Build pkg-config for msvc as well
|
||||
|
||||
Significant changes and bug fixes
|
||||
---------------------------------
|
||||
* Critical fix for binary compatibility with 0.16: Move the
|
||||
json_tokener_error_memory entry to the end of enum json_tokener_error.
|
||||
* Issue #829: attempt to detect clang-cl.exe and pass MSVC-compatile command
|
||||
line arguments.
|
||||
* PR #831 - rename WIN32 to _WIN32
|
||||
* PR #839 - Fix gcc 5 "may be used uninitialized" failure in json_pointer.c
|
||||
* PR #849 - random_seed.c: add a Coverity Scan suppression
|
||||
* Issue #854: Set error=json_tokener_error_memory in
|
||||
json_tokener_parser_verbose() when allocating the tokener fails.
|
||||
* Issue #857: fix a few places where json_tokener should have been returning
|
||||
json_tokener_error_memory but wasn't.
|
||||
* Handle yet another out-of-memory condition in json_tokener, duplocate can
|
||||
return NULL.
|
||||
* Various fixes in the fuzzers
|
||||
* A few minor doc fixes
|
||||
|
||||
***
|
||||
|
||||
0.17 (up to commit 077661f, 2023-08-08)
|
||||
========================================
|
||||
|
||||
Known Bugs
|
||||
----------
|
||||
* DO NOT USE THE 0.17 RELEASE: json_tokener_error_memory in misplaced in the
|
||||
json_tokener_error enum, leading to binary compatibility issues.
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* None
|
||||
|
||||
New features
|
||||
------------
|
||||
* json_patch: add first implementation only with patch application
|
||||
* Add --disable-static and --disable-dynamic options to the cmake-configure script.
|
||||
* Add -DBUILD_APPS=NO option to disable app build
|
||||
* Minimum cmake version is now 3.9
|
||||
|
||||
Significant changes and bug fixes
|
||||
---------------------------------
|
||||
* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
|
||||
closing curly or square braces on same line for empty objects or arrays.
|
||||
* Disable locale handling when targeting a uClibc system due to problems
|
||||
with its duplocale() function.
|
||||
* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
|
||||
now result in a json_tokener_error_parse_number. Without that flag
|
||||
values are capped at INT64_MIN/UINT64_MAX.
|
||||
* Fix memory leak with emtpy strings in json_object_set_string
|
||||
* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
|
||||
* Add back json_number_chars, but only because it's part of the public API.
|
||||
* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
|
||||
platforms.
|
||||
* Specify dependent libraries, including -lbsd, in a more consistent way so
|
||||
linking against a static json-c works better
|
||||
* Fix a variety of build problems and add & improve tests
|
||||
* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259
|
||||
|
||||
***
|
||||
|
||||
0.16 (up to commit 66dcdf5, 2022-04-13)
|
||||
========================================
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of
|
||||
JSON_C_OBJECT_ADD_CONSTANT_KEY
|
||||
* Direct access to lh_table and lh_entry structure members is deprecated.
|
||||
Use access functions instead, lh_table_head(), lh_entry_next(), etc...
|
||||
* Drop REFCOUNT_DEBUG code.
|
||||
|
||||
New features
|
||||
------------
|
||||
* The 0.16 release introduces no new features
|
||||
|
||||
Build changes
|
||||
-------------
|
||||
* Add a DISABLE_EXTRA_LIBS option to skip using libbsd
|
||||
* Add a DISABLE_JSON_POINTER option to skip compiling in json_pointer support.
|
||||
|
||||
Significant changes and bug fixes
|
||||
---------------------------------
|
||||
* Cap string length at INT_MAX to avoid various issues with very long strings.
|
||||
* json_object_deep_copy: fix deep copy of strings containing '\0'
|
||||
* Fix read past end of buffer in the "json_parse" command
|
||||
* Avoid out of memory accesses in the locally provided vasprintf() function
|
||||
(for those platforms that use it)
|
||||
* Handle allocation failure in json_tokener_new_ex
|
||||
* Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL
|
||||
* printbuf_memset(): set gaps to zero - areas within the print buffer which
|
||||
have not been initialized by using printbuf_memset
|
||||
* printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX)
|
||||
* sprintbuf(): propagate printbuf_memappend errors back to the caller
|
||||
|
||||
Optimizations
|
||||
--------------
|
||||
* Speed up parsing by replacing ctype functions with simplified, faster
|
||||
non-locale-sensitive ones in json_tokener and json_object_to_json_string.
|
||||
* Neither vertical tab nor formfeed are considered whitespace per the JSON spec
|
||||
* json_object: speed up creation of objects, calloc() -> malloc() + set fields
|
||||
* Avoid needless extra strlen() call in json_c_shallow_copy_default() and
|
||||
json_object_equal() when the object is known to be a json_type_string.
|
||||
|
||||
Other changes
|
||||
-------------
|
||||
* Validate size arguments in arraylist functions.
|
||||
* Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c
|
||||
very early during boot, such as part of cryptsetup.
|
||||
* Use arc4random() if it's available.
|
||||
* random_seed: on error, continue to next method instead of exiting the process
|
||||
* Close file when unable to read from /dev/urandom in get_dev_random_seed()
|
||||
|
||||
***
|
||||
|
||||
0.15 (up to commit 870965e, 2020/07/26)
|
||||
========================================
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* Deprecate `array_list_new()` in favor of `array_list_new2()`
|
||||
* Remove the THIS_FUNCTION_IS_DEPRECATED define.
|
||||
* Remove config.h.win32
|
||||
|
||||
New features
|
||||
------------
|
||||
* Add a `JSON_TOKENER_ALLOW_TRAILING_CHARS` flag to allow multiple objects
|
||||
to be parsed even when `JSON_TOKENER_STRICT` is set.
|
||||
* Add `json_object_new_array_ext(int)` and `array_list_new_2(int)` to allow
|
||||
arrays to be allocated with the exact size needed, when known.
|
||||
* Add `json_object_array_shrink()` (and `array_list_shrink()`) and use it in
|
||||
json_tokener to minimize the amount of memory used.
|
||||
* Add a json_parse binary, for use in testing changes (not installed, but
|
||||
available in the apps directory).
|
||||
|
||||
Build changes
|
||||
-------------
|
||||
* #639/#621 - Add symbol versions to all exported symbols
|
||||
* #508/#634 - Always enable -fPIC to allow use of the json-c static library in
|
||||
other libraries
|
||||
* Build both static and shared libraries at the same time.
|
||||
* #626 - Restore compatibility with cmake 2.8
|
||||
* #471 - Always create directories with mode 0755, regardless of umask.
|
||||
* #606/#604 - Improve support for OSes like AIX and IBM i, as well as for
|
||||
MINGW32 and old versions of MSVC
|
||||
* #451/#617 - Add a DISABLE_THREAD_LOCAL_STORAGE cmake option to disable
|
||||
the use of thread-local storage.
|
||||
|
||||
Significant changes and bug fixes
|
||||
---------------------------------
|
||||
* Split the internal json_object structure into several sub-types, one for
|
||||
each json_type (json_object_object, json_object_string, etc...).
|
||||
This improves memory usage and speed, with the benchmark under
|
||||
bench/ report 5.8% faster test time and 6%(max RSS)-12%(peak heap)
|
||||
less memory usage.
|
||||
Memory used just for json_object structures decreased 27%, so use cases
|
||||
with fewer arrays and/or strings would benefit more.
|
||||
* Minimize memory usage in array handling in json_tokener by shrinking
|
||||
arrays to the exact number of elements parsed. On bench/ benchmark:
|
||||
9% faster test time, 39%(max RSS)-50%(peak heap) less memory usage.
|
||||
Add json_object_array_shrink() and array_list_shrink() functions.
|
||||
* #616 - Parsing of surrogate pairs in unicode escapes now properly handles
|
||||
incremental parsing.
|
||||
* Fix incremental parsing of numbers, especially those with exponents, e.g.
|
||||
so parsing "[0", "e+", "-]" now properly returns an error.
|
||||
Strict mode now rejects missing exponents ("0e").
|
||||
* Successfully return number objects at the top level even when they are
|
||||
followed by a "-", "." or "e". This makes parsing things like "123-45"
|
||||
behave consistently with things like "123xyz".
|
||||
|
||||
Other changes
|
||||
-------------
|
||||
* #589 - Detect broken RDRAND during initialization; also, fix segfault
|
||||
in the CPUID check.
|
||||
* #592 - Fix integer overflows to prevert out of bounds write on large input.
|
||||
* Protect against division by zero in linkhash, when created with zero size.
|
||||
* #602 - Fix json_parse_uint64() internal error checking, leaving the retval
|
||||
untouched in more failure cases.
|
||||
* #614 - Prevent truncation when custom double formatters insert extra \0's
|
||||
|
||||
|
||||
***
|
||||
|
||||
0.14 (up to commit 9ed00a6, 2020/04/14)
|
||||
=========================================
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* bits.h has been removed
|
||||
* lh_abort() has been removed
|
||||
* lh_table_lookup() has been removed, use lh_table_lookup_ex() instead.
|
||||
* Remove TRUE and FALSE defines, use 1 and 0 instead.
|
||||
|
||||
Build changes:
|
||||
--------------
|
||||
## Deprecated and removed features:
|
||||
* bits.h has been removed
|
||||
* lh_abort() has been removed
|
||||
* lh_table_lookup() has been removed, use lh_table_lookup_ex() instead.
|
||||
* Remove TRUE and FALSE defines, use 1 and 0 instead.
|
||||
* autoconf support, including autogen.sh, has been removed. See details about cmake, below.
|
||||
* With the addition of json_tokener_get_parse_end(), access to internal fields of json_tokener, as well as use of many other symbols and types in json_tokener.h, is deprecated now.
|
||||
* The use of Android.configure.mk to build for Android no longer works, and it is unknown how (or if) the new cmake-based build machinery can be used.
|
||||
* Reports of success, or pull requests to correct issues are welcome.
|
||||
|
||||
## Notable improvements and new features
|
||||
|
||||
### Builds and documentation
|
||||
* Build machinery has been switched to CMake. See README.md for details about how to build.
|
||||
* TL;DR: `mkdir build ; cd build ; cmake -DCMAKE_INSTALL_PREFIX=/some/path ../json-c ; make all test install`
|
||||
* To ease the transition, there is a `cmake-configure` wrapper that emulates the old autoconf-based configure script.
|
||||
* This has enabled improvements to the build on Windows system; also all public functions have been fixed to be properly exported. For best results, use Visual Studio 2015 or newer.
|
||||
* The json-c style guide has been updated to specify the use of clang-format, and all code has been reformatted.
|
||||
* Since many lines of code have trivial changes now, when using git blame, be sure to specify -w
|
||||
* Numerous improvements have been made to the documentation including function effects on refcounts, when passing a NULL is safe, and so on.
|
||||
|
||||
### json_tokener changes
|
||||
* Added a json_tokener_get_parse_end() function to replace direct access of tok->char_offset.
|
||||
* The char_offset field, and the rest of the json_tokener structure remain exposed for now, but expect a future release to hide it like is done with json_object_private.h
|
||||
* json_tokener_parse_ex() now accepts a new JSON_TOKENER_VALIDATE_UTF8 flag to validate that input is UTF8.
|
||||
* If validation fails, json_tokener_get_error(tok) will return json_tokener_error_parse_utf8_string (see enum json_tokener_error).
|
||||
|
||||
### Other changes and additions
|
||||
* Add support for unsigned 64-bit integers, uint64_t, to gain one extra bit of magnitude for positive ints.
|
||||
* json_tokener will now parse values up to UINT64_MAX (18446744073709551615)
|
||||
* Existing methods returning int32_t or int64_t will cap out-of-range values at INT32_MAX or INT64_MAX, preserving existing behavior.
|
||||
* The implementation includes the possibility of easily extending this to larger sizes in the future.
|
||||
* A total of 7 new functions were added:
|
||||
* json_object_get_uint64 ( struct json_object const* jso )
|
||||
* json_object_new_uint64 ( uint64_t i )
|
||||
* json_object_set_uint64 ( struct json_object* jso, uint64_t new_value )
|
||||
* json_parse_uint64 ( char const* buf, uint64_t* retval )
|
||||
* See description of uint64 support, above.
|
||||
* json_tokener_get_parse_end ( struct json_tokener* tok )
|
||||
* See details under "json_tokener changes", above.
|
||||
* json_object_from_fd_ex ( int fd, int in_depth )
|
||||
* Allows the max nesting depth to be specified.
|
||||
* json_object_new_null ( )
|
||||
* Simply returns NULL. Its use is not recommended.
|
||||
* The size of struct json_object has decreased from 96 bytes to 88 bytes.
|
||||
|
||||
### Testing
|
||||
* Many updates were made to test cases, increasing code coverage.
|
||||
* There is now a quick way (JSONC_TEST_TRACE=1) to turn on shell tracing in tests.
|
||||
* To run tests, use `make test`; the old "check" target no longer exists.
|
||||
|
||||
## Significant bug fixes
|
||||
For the full list of issues and pull requests since the previous release, please see issues_closed_for_0.14.md
|
||||
|
||||
* [Issue #389](https://github.com/json-c/json-c/issues/389): Add an assert to explicitly crash when _ref_count is corrupted, instead of a later "double free" error.
|
||||
* [Issue #407](https://github.com/json-c/json-c/issues/407): fix incorrect casts in calls to ctype functions (isdigit and isspace) so we don't crash when asserts are enabled on certain platforms and characters > 128 are parsed.
|
||||
* [Issue #418](https://github.com/json-c/json-c/issues/418): Fix docs for json_util_from_fd and json_util_from_file to say that they return NULL on failures.
|
||||
* [Issue #422](https://github.com/json-c/json-c/issues/422): json_object.c:set errno in json_object_get_double() when called on a json_type_string object with bad content.
|
||||
* [Issue #453](https://github.com/json-c/json-c/issues/453): Fixed misalignment in JSON serialization when JSON_C_TO_STRING_SPACED and JSON_C_TO_STRING_PRETTY are used together.
|
||||
* [Issue #463](https://github.com/json-c/json-c/issues/463): fix newlocale() call to use LC_NUMERIC_MASK instead of LC_NUMERIC, and remove incorrect comment.
|
||||
* [Issue #486](https://github.com/json-c/json-c/issues/486): append a missing ".0" to negative double values to ensure they are serialized as floating point numbers.
|
||||
* [Issue #488](https://github.com/json-c/json-c/issues/488): use JSON_EXPORT on functions so they are properly exported on Windows.
|
||||
* [Issue #539](https://github.com/json-c/json-c/issues/539): use an internal-only serializer function in json_object_new_double_s() to avoid potential conflicts with user code that uses the json_object_userdata_to_json_string serializer.
|
||||
|
||||
***
|
||||
|
||||
0.13.1 (up to commit 0f814e5, 2018/03/04)
|
||||
=========================================
|
||||
|
||||
* Bump the major version of the .so library generated up to 4.0 to avoid
|
||||
conflicts because some downstream packagers of json-c had already done
|
||||
their own bump to ".so.3" for a much older 0.12 release.
|
||||
* Add const size_t json_c_object_sizeof()
|
||||
* Avoid invalid free (and thus a segfault) when ref_count gets < 0
|
||||
* PR#394: fix handling of custom double formats that include a ".0"
|
||||
* Avoid uninitialized variable warnings in json_object_object_foreach
|
||||
* Issue #396: fix build for certain uClibc based systems.
|
||||
* Add a top level fuzz directory for fuzzers run by OSS-Fuzz
|
||||
|
||||
|
||||
0.13 (up to commit 5dae561, 2017/11/29)
|
||||
=================================
|
||||
|
||||
This release, being three and a half years after the 0.12 branch (f84d9c),
|
||||
has quite a number of changes included. The following is a sampling of
|
||||
the most significant ones.
|
||||
|
||||
Since the 0.12 release, 250 issues and pull requests have been closed.
|
||||
See issues_closed_for_0.13.md for a complete list.
|
||||
|
||||
|
||||
Deprecated and removed features:
|
||||
--------------------------------
|
||||
* All internal use of bits.h has been eliminated. The file will be removed.
|
||||
Do not use: hexdigit(), error_ptr(), error_descrition() and it_error()
|
||||
* lh_abort() is deprecated. It will be removed.
|
||||
|
||||
Behavior changes:
|
||||
-----------------
|
||||
* Tighten the number parsing algorithm to raise errors instead of truncating
|
||||
the results. For example 12.3.4 or 2015-01-15, which now return null.
|
||||
See commit 99d8fc
|
||||
|
||||
* Use size_t for array length and size. Platforms where sizeof(size_t) != sizeof(int) may not be backwards compatible
|
||||
See commits 45c56b, 92e9a5 and others.
|
||||
|
||||
* Check for failure when allocating memory, returning NULL and errno=ENOMEM.
|
||||
See commit 2149a04.
|
||||
|
||||
* Change json_object_object_add() return type from void to int, and will return -1 on failures, instead of exiting. (Note: this is not an ABI change)
|
||||
|
||||
New features:
|
||||
-------------
|
||||
* We're aiming to follow RFC 7159 now.
|
||||
|
||||
* Add a couple of additional option to json_object_to_json_string_ext:
|
||||
JSON_C_TO_STRING_PRETTY_TAB
|
||||
JSON_C_TO_STRING_NOSLASHESCAPE
|
||||
|
||||
* Add a json_object_object_add_ex() function to allow for performance
|
||||
improvements when certain constraints are known to be true.
|
||||
|
||||
* Make serialization format of doubles configurable, in two different ways:
|
||||
Call json_object_set_serializer with json_object_double_to_json_string and a custom
|
||||
format on each double object, or
|
||||
Call json_c_set_serialization_double_format() to set a global or thread-wide format.
|
||||
|
||||
* Add utility function for comparing json_objects - json_object_equal()
|
||||
|
||||
* Add a way to copy entire object trees: json_object_deep_copy()
|
||||
* Add json_object_set_<type> function to modify the value of existing json_object's
|
||||
without the need to recreate them. Also add a json_object_int_inc function to
|
||||
adjust an int's value.
|
||||
* Add support for JSON pointer, RFC 6901. See json_pointer.h
|
||||
* Add a json_util_get_last_err() function to retrieve the string describing the
|
||||
cause of errors, instead of printing to stderr.
|
||||
* Add perllike hash function for strings, and json_global_set_string_hash() 8f8d03d
|
||||
* Add a json_c_visit() function to provide a way to iterate over a tree of json-c objects.
|
||||
|
||||
Notable bug fixes and other improvements:
|
||||
-----------------------------------------
|
||||
* Make reference increment and decrement atomic to allow passing json objects between threads.
|
||||
* Fix json_object_object_foreach to avoid uninitialized variable warnings.
|
||||
* Improve performance by removing unneeded data items from hashtable code and reducing duplicate hash computation.
|
||||
* Improve performance by storing small strings inside json_object
|
||||
* Improve performance of json_object_to_json_string by removing variadic printf. commit 9ff0f49
|
||||
* Issue #371: fix parsing of "-Infinity", and avoid needlessly copying the input when doing so.
|
||||
* Fix stack buffer overflow in json_object_double_to_json_string_format() - commit 2c2deb87
|
||||
* Fix various potential null ptr deref and int32 overflows
|
||||
* Issue #332: fix a long-standing bug in array_list_put_idx() where it would attempt to free previously free'd entries due to not checking the current array length.
|
||||
* Issue #195: use uselocale() instead of setlocale() in json_tokener to behave better in threaded environments.
|
||||
* Issue #275: fix out of bounds read when handling unicode surrogate pairs.
|
||||
* Ensure doubles that happen to be a whole number are emitted with ".0" - commit ca7a19
|
||||
* PR#331: for Visual Studio, use a snprintf/vsnprintf wrapper that ensures the string is terminated.
|
||||
* Fix double to int cast overflow in json_object_get_int64.
|
||||
* Clamp double to int32 when narrowing in json_object_get_int.
|
||||
* Use strtoll() to parse ints - instead of sscanf
|
||||
* Miscellaneous smaller changes, including removing unused variables, fixing warning
|
||||
about uninitialized variables adding const qualifiers, reformatting code, etc...
|
||||
|
||||
Build changes:
|
||||
--------------
|
||||
* Add Appveyor and Travis build support
|
||||
* Switch to using CMake when building on Windows with Visual Studio.
|
||||
A dynamic .dll is generated instead of a .lib
|
||||
config.h is now generated, config.h.win32 should no longer be manually copied
|
||||
* Add support for MacOS through CMake too.
|
||||
* Enable silent build by default
|
||||
* Link against libm when needed
|
||||
* Add support for building with AddressSanitizer
|
||||
* Add support for building with Clang
|
||||
* Add a --enable-threading configure option, and only use the (slower) __sync_add_and_fetch()/__sync_sub_and_fetch() function when it is specified.
|
||||
|
||||
List of new functions added:
|
||||
----------------------------
|
||||
### json_object.h
|
||||
* array_list_bsearch()
|
||||
* array_list_del_idx()
|
||||
* json_object_to_json_string_length()
|
||||
* json_object_get_userdata()
|
||||
* json_object_set_userdata()
|
||||
* json_object_object_add_ex()
|
||||
* json_object_array_bsearch()
|
||||
* json_object_array_del_idx()
|
||||
* json_object_set_boolean()
|
||||
* json_object_set_int()
|
||||
* json_object_int_inc()
|
||||
* json_object_set_int64()
|
||||
* json_c_set_serialization_double_format()
|
||||
* json_object_double_to_json_string()
|
||||
* json_object_set_double()
|
||||
* json_object_set_string()
|
||||
* json_object_set_string_len()
|
||||
* json_object_equal()
|
||||
* json_object_deep_copy()
|
||||
|
||||
### json_pointer.h
|
||||
* json_pointer_get()
|
||||
* json_pointer_getf()
|
||||
* json_pointer_set()
|
||||
* json_pointer_setf()
|
||||
|
||||
### json_util.h
|
||||
* json_object_from_fd()
|
||||
* json_object_to_fd()
|
||||
* json_util_get_last_err()
|
||||
|
||||
### json_visit.h
|
||||
* json_c_visit()
|
||||
|
||||
### linkhash.h
|
||||
* json_global_set_string_hash()
|
||||
* lh_table_resize()
|
||||
|
||||
### printbuf.h
|
||||
* printbuf_strappend()
|
||||
|
||||
|
||||
0.12.1
|
||||
======
|
||||
|
||||
* Minimal changes to address compile issues.
|
||||
|
||||
0.12
|
||||
====
|
||||
|
||||
* Address security issues:
|
||||
* CVE-2013-6371: hash collision denial of service
|
||||
@@ -12,11 +440,11 @@
|
||||
* Make the json_tokener_errors array local. It has been deprecated for
|
||||
a while, and json_tokener_error_desc() should be used instead.
|
||||
|
||||
* change the floating point output format to %.17g so values with
|
||||
* change the floating point output format to %.17g so values with
|
||||
more than 6 digits show up in the output.
|
||||
|
||||
* Remove the old libjson.so name compatibility support. The library is
|
||||
only created as libjson-c.so now and headers are only installed
|
||||
only created as libjson-c.so now and headers are only installed
|
||||
into the ${prefix}/json-c directory.
|
||||
|
||||
* When supported by the linker, add the -Bsymbolic-functions flag.
|
||||
@@ -39,6 +467,7 @@
|
||||
|
||||
|
||||
0.11
|
||||
====
|
||||
|
||||
* IMPORTANT: the name of the library has changed to libjson-c.so and
|
||||
the header files are now in include/json-c.
|
||||
@@ -62,6 +491,7 @@
|
||||
* Fix a bug (buffer overrun) when expanding arrays to more than 64 entries.
|
||||
|
||||
0.10
|
||||
====
|
||||
|
||||
* Add a json_object_to_json_string_ext() function to allow output to be
|
||||
formatted in a more human readable form.
|
||||
@@ -70,7 +500,7 @@
|
||||
* Add an alternative iterator implementation, see json_object_iterator.h
|
||||
* Make json_object_iter public to enable external use of the
|
||||
json_object_object_foreachC macro.
|
||||
* Add a printbuf_memset() function to provide an effecient way to set and
|
||||
* Add a printbuf_memset() function to provide an efficient way to set and
|
||||
append things like whitespace indentation.
|
||||
* Adjust json_object_is_type and json_object_get_type so they return
|
||||
json_type_null for NULL objects and handle NULL passed to
|
||||
@@ -80,7 +510,7 @@
|
||||
* Allow json_tokener_parse_ex() to be re-used to parse multiple object.
|
||||
Also, fix some parsing issues with capitalized hexadecimal numbers and
|
||||
number in E notation.
|
||||
* Add json_tokener_get_error() and json_tokener_error_desc() to better
|
||||
* Add json_tokener_get_error() and json_tokener_error_desc() to better
|
||||
encapsulate the process of retrieving errors while parsing.
|
||||
* Various improvements to the documentation of many functions.
|
||||
* Add new json_object_array_sort() function.
|
||||
@@ -110,6 +540,7 @@
|
||||
Brent Miller, bdmiller at yahoo dash inc dot com
|
||||
|
||||
0.9
|
||||
===
|
||||
* Add README.html README-WIN32.html config.h.win32 to Makefile.am
|
||||
Michael Clark, <michael@metaparadigm.com>
|
||||
* Add const qualifier to the json_tokener_parse functions
|
||||
@@ -126,7 +557,7 @@
|
||||
Brent Miller, bdmiller at yahoo dash inc dot com
|
||||
* Disable REFCOUNT_DEBUG by default in json_object.c
|
||||
* Don't use this as a variable, so we can compile with a C++ compiler
|
||||
* Add casts from void* to type of assignment when using malloc
|
||||
* Add casts from void* to type of assignment when using malloc
|
||||
* Add #ifdef __cplusplus guards to all of the headers
|
||||
* Add typedefs for json_object, json_tokener, array_list, printbuf, lh_table
|
||||
Michael Clark, <michael@metaparadigm.com>
|
||||
@@ -140,6 +571,7 @@
|
||||
Gerard Krol, g dot c dot krol at student dot tudelft dot nl
|
||||
|
||||
0.8
|
||||
===
|
||||
* Add va_end for every va_start
|
||||
Dotan Barak, dotanba at gmail dot com
|
||||
* Add macros to enable compiling out debug code
|
||||
@@ -152,19 +584,22 @@
|
||||
Geoffrey Young, geoff at modperlcookbook dot org
|
||||
|
||||
0.7
|
||||
===
|
||||
* Add escaping of backslash to json output
|
||||
* Add escaping of foward slash on tokenizing and output
|
||||
* Add escaping of forward slash on tokenizing and output
|
||||
* Changes to internal tokenizer from using recursion to
|
||||
using a depth state structure to allow incremental parsing
|
||||
|
||||
0.6
|
||||
===
|
||||
* Fix bug in escaping of control characters
|
||||
Johan Bj<EFBFBD>rklund, johbjo09 at kth dot se
|
||||
Johan Björklund, johbjo09 at kth dot se
|
||||
* Remove include "config.h" from headers (should only
|
||||
be included from .c files)
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
|
||||
0.5
|
||||
===
|
||||
* Make headers C++ compatible by change *this to *obj
|
||||
* Add ifdef C++ extern "C" to headers
|
||||
* Use simpler definition of min and max in bits.h
|
||||
@@ -177,18 +612,21 @@
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
|
||||
0.4
|
||||
===
|
||||
* Fix additional error case in object parsing
|
||||
* Add back sign reversal in nested object parse as error pointer
|
||||
value is negative, while error value is positive.
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
|
||||
0.3
|
||||
===
|
||||
* fix pointer arithmetic bug for error pointer check in is_error() macro
|
||||
* fix type passed to printbuf_memappend in json_tokener
|
||||
* update autotools bootstrap instructions in README
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
|
||||
0.2
|
||||
===
|
||||
* printbuf.c - C. Watford (christopher.watford@gmail.com)
|
||||
Added a Win32/Win64 compliant implementation of vasprintf
|
||||
* debug.c - C. Watford (christopher.watford@gmail.com)
|
||||
@@ -203,12 +641,13 @@
|
||||
Added a Win32/Win64 compliant implementation of strndup
|
||||
* json_util.c - C. Watford (christopher.watford@gmail.com)
|
||||
Added cast and mask to suffice size_t v. unsigned int conversion
|
||||
correctness
|
||||
correctness
|
||||
* json_tokener.c - sign reversal issue on error info for nested object parse
|
||||
spotted by Johan Bj<EFBFBD>rklund (johbjo09 at kth.se)
|
||||
spotted by Johan Björklund (johbjo09 at kth.se)
|
||||
* json_object.c - escape " in json_escape_str
|
||||
* Change to automake and libtool to build shared and static library
|
||||
Michael Clark <michael@metaparadigm.com>
|
||||
|
||||
|
||||
0.1
|
||||
===
|
||||
* initial release
|
||||
|
||||
74
Makefile.am
@@ -1,74 +0,0 @@
|
||||
include Makefile.am.inc
|
||||
|
||||
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
|
||||
SUBDIRS = . tests
|
||||
|
||||
lib_LTLIBRARIES = libjson-c.la
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = json-c.pc
|
||||
|
||||
libjson_cincludedir = $(includedir)/json-c
|
||||
libjson_cinclude_HEADERS = \
|
||||
arraylist.h \
|
||||
bits.h \
|
||||
debug.h \
|
||||
json.h \
|
||||
json_config.h \
|
||||
json_c_version.h \
|
||||
json_inttypes.h \
|
||||
json_object.h \
|
||||
json_object_iterator.h \
|
||||
json_object_private.h \
|
||||
json_tokener.h \
|
||||
json_util.h \
|
||||
linkhash.h \
|
||||
printbuf.h \
|
||||
random_seed.h
|
||||
|
||||
#libjsonx_includedir = $(libdir)/json-c-@VERSION@
|
||||
#
|
||||
#libjsonx_include_HEADERS = \
|
||||
# json_config.h
|
||||
|
||||
libjson_c_la_LDFLAGS = -version-info 2:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@
|
||||
|
||||
libjson_c_la_SOURCES = \
|
||||
arraylist.c \
|
||||
debug.c \
|
||||
json_c_version.c \
|
||||
json_object.c \
|
||||
json_object_iterator.c \
|
||||
json_tokener.c \
|
||||
json_util.c \
|
||||
linkhash.c \
|
||||
printbuf.c \
|
||||
random_seed.c
|
||||
|
||||
|
||||
distclean-local:
|
||||
-rm -rf $(testsubdir)
|
||||
-rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing
|
||||
-rm -f INSTALL test-driver tests/Makefile.in compile
|
||||
|
||||
maintainer-clean-local:
|
||||
-rm -rf configure
|
||||
|
||||
uninstall-local:
|
||||
rm -rf "$(DESTDIR)@includedir@/json-c"
|
||||
rm -f "$(DESTDIR)@includedir@/json"
|
||||
|
||||
ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
|
||||
|
||||
Android.mk: Makefile.am
|
||||
androgenizer -:PROJECT json-c \
|
||||
-:SHARED libjson-c \
|
||||
-:TAGS eng debug \
|
||||
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
||||
-:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \
|
||||
-:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \
|
||||
-:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \
|
||||
-:HEADER_TARGET json-c \
|
||||
-:HEADERS $(libjson_cinclude_HEADERS) \
|
||||
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
||||
> $@
|
||||
@@ -1,2 +0,0 @@
|
||||
AM_CFLAGS = -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
|
||||
|
||||
46
README
@@ -1,45 +1 @@
|
||||
Building on Unix with git, gcc and autotools
|
||||
|
||||
Home page for json-c:
|
||||
https://github.com/json-c/json-c/wiki
|
||||
|
||||
Caution: do NOT use sources from svn.metaparadigm.com, they are old.
|
||||
|
||||
Prerequisites:
|
||||
gcc (or another C compiler)
|
||||
libtool
|
||||
|
||||
If you're not using a release tarball, you'll also need:
|
||||
autoconf (autoreconf)
|
||||
automake
|
||||
Make sure you have a complete libtool install, including libtoolize
|
||||
|
||||
Github repo for json-c:
|
||||
https://github.com/json-c/json-c
|
||||
|
||||
$ git clone https://github.com/json-c/json-c.git
|
||||
$ cd json-c
|
||||
$ sh autogen.sh
|
||||
|
||||
Then
|
||||
|
||||
$ ./configure
|
||||
$ make
|
||||
$ make install
|
||||
|
||||
To build and run the test programs run
|
||||
|
||||
$ make check
|
||||
|
||||
Linking to libjson-c
|
||||
|
||||
If your system has pkgconfig then you can just add this to your makefile
|
||||
|
||||
CFLAGS += $(shell pkg-config --cflags json-c)
|
||||
LDFLAGS += $(shell pkg-config --libs json-c)
|
||||
|
||||
Without pkgconfig, you would do something like this:
|
||||
|
||||
JSON_C_DIR=/path/to/json_c/install
|
||||
CFLAGS += -I$(JSON_C_DIR)/include/json-c
|
||||
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
|
||||
See README.md or README.html
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>JSON-C - A JSON implementation in C - Win32 specific notes</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
</head>
|
||||
<body>
|
||||
<h2>Windows specific notes for JSON-C</h2>
|
||||
<p>Please send Win32 bug reports to <a href="mailto:christopher.watford@gmail.com">christopher.watford@gmail.com</a></p>
|
||||
<p><b>Win32 Specific Changes:</b></p>
|
||||
<ul>
|
||||
<li>
|
||||
Various functions have been redefined to their Win32 version (i.e. <tt>open</tt>
|
||||
on win32 is <tt>_open</tt>)</li>
|
||||
<li>
|
||||
Implemented missing functions from MS's libc (i.e. <tt>vasprintf</tt>)</li>
|
||||
<li>
|
||||
Added code to allow Win64 support without integer resizing issues, this
|
||||
probably makes it much nicer on 64bit machines everywhere (i.e. using <tt>ptrdiff_t</tt>
|
||||
for pointer math)</li>
|
||||
</ul>
|
||||
<p><b>Porting Changelog:</b></p>
|
||||
<dl>
|
||||
<dt><tt>printbuf.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>
|
||||
<dd>
|
||||
Added a Win32/Win64 compliant implementation of <tt>vasprintf</tt></dd>
|
||||
<dt><tt>debug.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>
|
||||
<dd>
|
||||
Removed usage of <tt>vsyslog</tt> on Win32/Win64 systems, needs to be handled
|
||||
by a configure script</dd>
|
||||
<dt><tt>json_object.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>
|
||||
<dd>
|
||||
Added scope operator to wrap usage of <tt>json_object_object_foreach</tt>, this needs to be
|
||||
rethought to be more ANSI C friendly</dd>
|
||||
<dt><tt>json_object.h</tt> - C. Watford (christopher.watford@gmail.com)</dt>
|
||||
<dd>
|
||||
Added Microsoft C friendly version of <tt>json_object_object_foreach</tt></dd>
|
||||
<dt><tt>json_tokener.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>
|
||||
<dd>
|
||||
Added a Win32/Win64 compliant implementation of <tt>strndup</tt></dd>
|
||||
<dt><tt>json_util.c</tt> - C. Watford (christopher.watford@gmail.com)</dt>
|
||||
<dd>
|
||||
Added cast and mask to suffice <tt>size_t</tt> v. <tt>unsigned int</tt>
|
||||
conversion correctness</dd>
|
||||
</dl>
|
||||
<p>This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the MIT License. See COPYING for details.</p>
|
||||
<hr />
|
||||
</body>
|
||||
</html>
|
||||
25
README.html
@@ -8,27 +8,34 @@
|
||||
<h2>JSON-C - A JSON implementation in C</h2>
|
||||
|
||||
<h3>Overview</h3>
|
||||
<p>JSON-C implements a reference counting object model that allows you to easily
|
||||
construct JSON objects in C, output them as JSON formatted strings and parse
|
||||
JSON formatted strings back into the C representation of JSON objects.</p>
|
||||
<p>JSON-C implements a reference counting object model that allows you to easily
|
||||
construct JSON objects in C, output them as JSON formatted strings and parse
|
||||
JSON formatted strings back into the C representation of JSON objects.
|
||||
It aims to conform to <a href="https://tools.ietf.org/html/rfc7159">RFC 7159</a>.
|
||||
</p>
|
||||
|
||||
<h3>Building</h3>
|
||||
<p>To setup JSON-C to build on your system please run <tt>configure</tt> and <tt>make</tt>.</p>
|
||||
<p>If you are on Win32 and are not using the VS project file, be sure
|
||||
to rename <tt>config.h.win32</tt> to <tt>config.h</tt> before building.</p>
|
||||
<p>If you are on Win32 cmake is required, generally:</p>
|
||||
<ul>
|
||||
<li>mkdir build</li>
|
||||
<li>cd build</li>
|
||||
<li>cmake ..</li>
|
||||
<li>msbuild "json-c.vcxproj" /m /verbosity:normal /p:OutDir=lib\</li>
|
||||
<li>Or, open the project in Visual Studio</li>
|
||||
</ul>
|
||||
|
||||
<h3>Documentation</h3>
|
||||
<P>Doxygen generated documentation exists <a href="doc/html/json__object_8h.html">here</a>
|
||||
and Win32 specific notes can be found <a href="README-WIN32.html">here</a>.</P>
|
||||
<P>Doxygen generated documentation exists <a href="https://json-c.github.io/json-c/">here</a>.</P>
|
||||
|
||||
<h3><a href="https://github.com/json-c/json-c">GIT Reposository</a></h3>
|
||||
<p><strong><code>git clone https://github.com/json-c/json-c.git</code></strong></p>
|
||||
|
||||
<h3><a href="http://groups.google.com/group/json-c">Mailing List</a></h3>
|
||||
<h3><a href="https://groups.google.com/group/json-c">Mailing List</a></h3>
|
||||
<pi>Send email to <strong><code>json-c <i><at></i> googlegroups <i><dot></i> com</code></strong></p>
|
||||
|
||||
<h3><a href="COPYING">License</a></h3>
|
||||
<p>This program is free software; you can redistribute it and/or modify it under the terms of the MIT License..</p>
|
||||
<p>This program is free software; you can redistribute it and/or modify it under the terms of the MIT License.</p>
|
||||
<hr/>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
356
README.md
Normal file
@@ -0,0 +1,356 @@
|
||||
\mainpage
|
||||
|
||||
json-c
|
||||
========
|
||||
|
||||
1. [Overview and Build Status](#overview)
|
||||
2. [Getting Help](#gettinghelp)
|
||||
3. [Building on Unix](#buildunix)
|
||||
* [Prerequisites](#installprereq)
|
||||
* [Build commands](#buildcmds)
|
||||
4. [CMake options](#CMake)
|
||||
5. [Testing](#testing)
|
||||
6. [Building with `vcpkg`](#buildvcpkg)
|
||||
7. [Building for Android](#android)
|
||||
7. [Linking to libjson-c](#linking)
|
||||
8. [Using json-c](#using)
|
||||
|
||||
<a name="overview"></a>
|
||||
JSON-C - A JSON implementation in C
|
||||
-----------------------------------
|
||||
|
||||
JSON-C implements a reference counting object model that allows you to easily
|
||||
construct JSON objects in C, output them as JSON formatted strings and parse
|
||||
JSON formatted strings back into the C representation of JSON objects.
|
||||
It aims to conform to [RFC 8259](https://www.rfc-editor.org/rfc/rfc8259).
|
||||
|
||||
Skip down to [Using json-c](#using)
|
||||
or check out the [API docs](https://json-c.github.io/json-c/),
|
||||
if you already have json-c installed and ready to use.
|
||||
|
||||
Home page for json-c: https://github.com/json-c/json-c/wiki
|
||||
|
||||
<a name="gettinghelp"></a>
|
||||
Getting Help
|
||||
------------
|
||||
|
||||
If you have questions about using json-c, please start a thread on
|
||||
our forums at: https://groups.google.com/forum/#!forum/json-c
|
||||
|
||||
If you believe you've discovered a bug, report it at
|
||||
(https://github.com/json-c/json-c/issues). Please be sure to include
|
||||
the version of json-c you're using, the OS you're running on, and any
|
||||
other relevant details. Fully reproducible test cases and/or patches
|
||||
to fix problems are greatly appreciated.
|
||||
|
||||
Fixes for bugs, or small new features can be directly submitted as a
|
||||
[pull request](https://github.com/json-c/json-c/pulls). For major new
|
||||
features or large changes of any kind, please first start a discussion
|
||||
on the [forums](https://groups.google.com/forum/#!forum/json-c).
|
||||
|
||||
|
||||
<a name="buildunix"></a>
|
||||
Building on Unix with `git`, `gcc` and `cmake`
|
||||
--------------------------------------------------
|
||||
|
||||
If you already have json-c installed, see [Linking to `libjson-c`](#linking)
|
||||
for how to build and link your program against it.
|
||||
|
||||
Build Status
|
||||
* [AppVeyor Build](https://ci.appveyor.com/project/hawicz/json-c) 
|
||||
* [Travis Build](https://app.travis-ci.com/github/json-c/json-c) 
|
||||
|
||||
Test Status
|
||||
* [Coveralls](https://coveralls.io/github/json-c/json-c?branch=master) [](https://coveralls.io/github/json-c/json-c?branch=master)
|
||||
|
||||
<a name="installprereq"></a>
|
||||
### Prerequisites:
|
||||
|
||||
- `gcc`, `clang`, or another C compiler
|
||||
|
||||
- `cmake>=2.8`, `>=3.16` recommended, `cmake=>3.1` for tests
|
||||
|
||||
To generate docs you'll also need:
|
||||
- `doxygen>=1.8.13`
|
||||
|
||||
If you are on a relatively modern system, you'll likely be able to install
|
||||
the prerequisites using your OS's packaging system.
|
||||
|
||||
### Install using apt (e.g. Ubuntu 16.04.2 LTS)
|
||||
```sh
|
||||
sudo apt install git
|
||||
sudo apt install cmake
|
||||
sudo apt install doxygen # optional
|
||||
sudo apt install valgrind # optional
|
||||
```
|
||||
|
||||
<a name="buildcmds"></a>
|
||||
### Build instructions:
|
||||
|
||||
`json-c` GitHub repo: https://github.com/json-c/json-c
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/json-c/json-c.git
|
||||
$ mkdir json-c-build
|
||||
$ cd json-c-build
|
||||
$ cmake ../json-c # See CMake section below for custom arguments
|
||||
```
|
||||
|
||||
Note: it's also possible to put your build directory inside the json-c
|
||||
source directory, or even not use a separate build directory at all, but
|
||||
certain things might not work quite right (notably, `make distcheck`)
|
||||
|
||||
Then:
|
||||
|
||||
```sh
|
||||
$ make
|
||||
$ make test
|
||||
$ make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||
$ sudo make install # it could be necessary to execute make install
|
||||
```
|
||||
|
||||
|
||||
### Generating documentation with Doxygen:
|
||||
|
||||
The library documentation can be generated directly from the source code using Doxygen tool:
|
||||
|
||||
```sh
|
||||
# in build directory
|
||||
make doc
|
||||
google-chrome doc/html/index.html
|
||||
```
|
||||
|
||||
|
||||
<a name="CMake"></a>
|
||||
CMake Options
|
||||
--------------------
|
||||
|
||||
The json-c library is built with [CMake](https://cmake.org/cmake-tutorial/),
|
||||
which can take a few options.
|
||||
|
||||
Variable | Type | Description
|
||||
-----------------------------|--------|--------------
|
||||
CMAKE_INSTALL_PREFIX | String | The install location.
|
||||
CMAKE_BUILD_TYPE | String | Defaults to "debug".
|
||||
BUILD_SHARED_LIBS | Bool | The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only.
|
||||
BUILD_STATIC_LIBS | Bool | The default build generates a static (lib/a) library. Set this to OFF to create a shared library only.
|
||||
DISABLE_STATIC_FPIC | Bool | The default builds position independent code. Set this to OFF to create a shared library only.
|
||||
DISABLE_BSYMBOLIC | Bool | Disable use of -Bsymbolic-functions.
|
||||
DISABLE_THREAD_LOCAL_STORAGE | Bool | Disable use of Thread-Local Storage (HAVE___THREAD).
|
||||
DISABLE_WERROR | Bool | Disable use of -Werror.
|
||||
DISABLE_EXTRA_LIBS | Bool | Disable use of extra libraries, libbsd
|
||||
DISABLE_JSON_POINTER | Bool | Omit json_pointer support from the build.
|
||||
ENABLE_RDRAND | Bool | Enable RDRAND Hardware RNG Hash Seed.
|
||||
ENABLE_THREADING | Bool | Enable partial threading support.
|
||||
OVERRIDE_GET_RANDOM_SEED | String | A block of code to use instead of the default implementation of json_c_get_random_seed(), e.g. on embedded platforms where not even the fallback to time() works. Must be a single line.
|
||||
|
||||
Pass these options as `-D` on CMake's command-line.
|
||||
|
||||
```sh
|
||||
# build a static library only
|
||||
cmake -DBUILD_SHARED_LIBS=OFF ..
|
||||
```
|
||||
|
||||
### Building with partial threading support
|
||||
|
||||
Although json-c does not support fully multi-threaded access to
|
||||
object trees, it has some code to help make its use in threaded programs
|
||||
a bit safer. Currently, this is limited to using atomic operations for
|
||||
json_object_get() and json_object_put().
|
||||
|
||||
Since this may have a performance impact, of at least 3x slower
|
||||
according to https://stackoverflow.com/a/11609063, it is disabled by
|
||||
default. You may turn it on by adjusting your cmake command with:
|
||||
-DENABLE_THREADING=ON
|
||||
|
||||
Separately, the default hash function used for object field keys,
|
||||
lh_char_hash, uses a compare-and-swap operation to ensure the random
|
||||
seed is only generated once. Because this is a one-time operation, it
|
||||
is always compiled in when the compare-and-swap operation is available.
|
||||
|
||||
|
||||
### cmake-configure wrapper script
|
||||
|
||||
For those familiar with the old autoconf/autogen.sh/configure method,
|
||||
there is a `cmake-configure` wrapper script to ease the transition to cmake.
|
||||
|
||||
```sh
|
||||
mkdir build
|
||||
cd build
|
||||
../cmake-configure --prefix=/some/install/path
|
||||
make
|
||||
```
|
||||
|
||||
cmake-configure can take a few options.
|
||||
|
||||
| options | Description|
|
||||
| ---- | ---- |
|
||||
| prefix=PREFIX | install architecture-independent files in PREFIX |
|
||||
| enable-threading | Enable code to support partly multi-threaded use |
|
||||
| enable-rdrand | Enable RDRAND Hardware RNG Hash Seed generation on supported x86/x64 platforms. |
|
||||
| enable-shared | build shared libraries [default=yes] |
|
||||
| enable-static | build static libraries [default=yes] |
|
||||
| disable-Bsymbolic | Avoid linking with -Bsymbolic-function |
|
||||
| disable-werror | Avoid treating compiler warnings as fatal errors |
|
||||
|
||||
|
||||
<a name="testing"></a>
|
||||
Testing:
|
||||
----------
|
||||
|
||||
By default, if valgrind is available running tests uses it.
|
||||
That can slow the tests down considerably, so to disable it use:
|
||||
```sh
|
||||
export USE_VALGRIND=0
|
||||
```
|
||||
|
||||
To run tests a separate build directory is recommended:
|
||||
```sh
|
||||
mkdir build-test
|
||||
cd build-test
|
||||
# VALGRIND=1 causes -DVALGRIND=1 to be passed when compiling code
|
||||
# which uses slightly slower, but valgrind-safe code.
|
||||
VALGRIND=1 cmake ..
|
||||
make
|
||||
|
||||
make test
|
||||
# By default, if valgrind is available running tests uses it.
|
||||
make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||
```
|
||||
|
||||
If a test fails, check `Testing/Temporary/LastTest.log`,
|
||||
`tests/testSubDir/${testname}/${testname}.vg.out`, and other similar files.
|
||||
If there is insufficient output try:
|
||||
```sh
|
||||
VERBOSE=1 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
```
|
||||
or
|
||||
```sh
|
||||
JSONC_TEST_TRACE=1 make test
|
||||
```
|
||||
and check the log files again.
|
||||
|
||||
|
||||
<a name="buildvcpkg"></a>
|
||||
Building on Unix and Windows with `vcpkg`
|
||||
--------------------------------------------------
|
||||
|
||||
You can download and install JSON-C using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
|
||||
|
||||
git clone https://github.com/Microsoft/vcpkg.git
|
||||
cd vcpkg
|
||||
./bootstrap-vcpkg.sh
|
||||
./vcpkg integrate install
|
||||
vcpkg install json-c
|
||||
|
||||
The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
||||
|
||||
<a name="android">
|
||||
Building for Android
|
||||
----------------------
|
||||
|
||||
Building on Android is now particularly well supported, but there
|
||||
have been some reports of success using
|
||||
https://developer.android.com/ndk/guides/cmake
|
||||
|
||||
```
|
||||
mkdir json-c-build
|
||||
cd json-c-build/
|
||||
export NDK_HOME=~/Library/Android/sdk/ndk/22.1.7171670/
|
||||
cmake \
|
||||
--toolchain=$NDK_HOME/build/cmake/android.toolchain.cmake \
|
||||
-DANDROID_STL=none \
|
||||
-DANDROID_ABI=arm64-v8a \
|
||||
-DANDROID_PLATFORM=android-29 \
|
||||
-DANDROID_LD=lld \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DCMAKE_INSTALL_PREFIX=<install prefix> \
|
||||
-DENABLE_THREADING=true \
|
||||
..
|
||||
make install
|
||||
```
|
||||
|
||||
<a name="linking">
|
||||
Linking to `libjson-c`
|
||||
----------------------
|
||||
|
||||
If your system has `pkgconfig`,
|
||||
then you can just add this to your `makefile`:
|
||||
|
||||
```make
|
||||
CFLAGS += $(shell pkg-config --cflags json-c)
|
||||
LDFLAGS += $(shell pkg-config --libs json-c)
|
||||
```
|
||||
|
||||
Without `pkgconfig`, you might do something like this:
|
||||
|
||||
```make
|
||||
JSON_C_DIR=/path/to/json_c/install
|
||||
CFLAGS += -I$(JSON_C_DIR)/include/json-c
|
||||
# Or to use lines like: #include <json-c/json_object.h>
|
||||
#CFLAGS += -I$(JSON_C_DIR)/include
|
||||
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
|
||||
```
|
||||
|
||||
If your project uses cmake:
|
||||
|
||||
* Add to your CMakeLists.txt file:
|
||||
|
||||
```cmake
|
||||
find_package(json-c CONFIG)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE json-c::json-c)
|
||||
```
|
||||
|
||||
* Then you might run in your project:
|
||||
|
||||
```sh
|
||||
cd build
|
||||
cmake -DCMAKE_PREFIX_PATH=/path/to/json_c/install/lib64/cmake ..
|
||||
```
|
||||
|
||||
<a name="using">
|
||||
Using json-c
|
||||
------------
|
||||
|
||||
To use json-c you can either include json.h, or preferably, one of the
|
||||
following more specific header files:
|
||||
|
||||
* json_object.h - Core types and methods.
|
||||
* json_tokener.h - Methods for parsing and serializing json-c object trees.
|
||||
* json_pointer.h - JSON Pointer (RFC 6901) implementation for retrieving
|
||||
objects from a json-c object tree.
|
||||
* json_object_iterator.h - Methods for iterating over single json_object instances. (See also `json_object_object_foreach()` in json_object.h)
|
||||
* json_visit.h - Methods for walking a tree of json-c objects.
|
||||
* json_util.h - Miscellaneous utility functions.
|
||||
|
||||
For a full list of headers see [files.html](https://json-c.github.io/json-c/json-c-current-release/doc/html/files.html)
|
||||
|
||||
The primary type in json-c is json_object. It describes a reference counted
|
||||
tree of json objects which are created by either parsing text with a
|
||||
json_tokener (i.e. `json_tokener_parse_ex()`), or by creating
|
||||
(with `json_object_new_object()`, `json_object_new_int()`, etc...) and adding
|
||||
(with `json_object_object_add()`, `json_object_array_add()`, etc...) them
|
||||
individually.
|
||||
Typically, every object in the tree will have one reference, from its parent.
|
||||
When you are done with the tree of objects, you call json_object_put() on just
|
||||
the root object to free it, which recurses down through any child objects
|
||||
calling json_object_put() on each one of those in turn.
|
||||
|
||||
You can get a reference to a single child
|
||||
(`json_object_object_get()` or `json_object_array_get_idx()`)
|
||||
and use that object as long as its parent is valid.
|
||||
If you need a child object to live longer than its parent, you can
|
||||
increment the child's refcount (`json_object_get()`) to allow it to survive
|
||||
the parent being freed or it being removed from its parent
|
||||
(`json_object_object_del()` or `json_object_array_del_idx()`)
|
||||
|
||||
When parsing text, the json_tokener object is independent from the json_object
|
||||
that it returns. It can be allocated (`json_tokener_new()`)
|
||||
used one or multiple times (`json_tokener_parse_ex()`, and
|
||||
freed (`json_tokener_free()`) while the json_object objects live on.
|
||||
|
||||
A json_object tree can be serialized back into a string with
|
||||
`json_object_to_json_string_ext()`. The string that is returned
|
||||
is only valid until the next "to_json_string" call on that same object.
|
||||
Also, it is freed when the json_object is freed.
|
||||
|
||||
@@ -1,78 +1,130 @@
|
||||
|
||||
Release checklist:
|
||||
# Release checklist:
|
||||
|
||||
release=0.12
|
||||
git clone https://github.com/json-c/json-c json-c-${release}
|
||||
cd json-c-${release}
|
||||
## Pre-release tasks
|
||||
|
||||
* Figure out whether a release is worthwhile to do.
|
||||
* Analyze the previous release branch to see if anything should have been
|
||||
applied to master.
|
||||
* Collect changes and assemble tentative release notes.
|
||||
* Identify previous release branch point
|
||||
* Check commit logs between previous branch point and now for
|
||||
notable changes worth mentioning
|
||||
* Create a new issues_closed_for_X.Y.md file
|
||||
* Include notable entries from here in the release notes.
|
||||
* Analyze APIs between previous release branch and master to produce list of
|
||||
changes (added/removed/updated funcs, etc...), and detect backwards compat
|
||||
issues.
|
||||
* https://github.com/lvc/abi-compliance-checker
|
||||
* See also `abi-check.sh`
|
||||
* If the new release is not backwards compatible, then this is a MAJOR release.
|
||||
* Mention removed features in ChangeLog
|
||||
* Consider re-adding backwards compatible support, through symbol
|
||||
aliases and appropriate entries in json-c.sym
|
||||
* Be sure any new symbols are listed in json-c.sym as part of
|
||||
the _new_ release version.
|
||||
* Update the AUTHORS file
|
||||
|
||||
PREV=$(git tag | tail -1)
|
||||
( git log -r ${PREV}..HEAD | grep Author: | sed -e's/Author: //' ; cat AUTHORS ) | sort -u > A1
|
||||
mv A1 AUTHORS
|
||||
|
||||
* Exclude mentioning changes that have already been included in a point
|
||||
release of the previous release branch.
|
||||
|
||||
* Update ChangeLog with relevant notes before branching.
|
||||
|
||||
* Check that the compile works on Linux - automatic through Travis
|
||||
* Check that the compile works on NetBSD
|
||||
* Check that the compile works on Windows - automatic through AppVeyor
|
||||
|
||||
## Release creation
|
||||
|
||||
Start creating the new release:
|
||||
|
||||
PREV=$(git tag | tail -1)
|
||||
PREV=${PREV#json-c-}
|
||||
PREV=${PREV%-*}
|
||||
release=0.$((${PREV#*.} + 1))
|
||||
cd ~
|
||||
git clone https://github.com/json-c/json-c json-c-${release}
|
||||
|
||||
rm -rf distcheck
|
||||
mkdir distcheck
|
||||
cd distcheck
|
||||
# Note, the build directory *must* be entirely separate from
|
||||
# the source tree for distcheck to work properly.
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ../json-c-${release}
|
||||
make distcheck
|
||||
cd ..
|
||||
|
||||
Check that the compile works on Linux
|
||||
Check that the compile works on NetBSD
|
||||
Check that the compile works on Windows
|
||||
Check ChangeLog to see if anything should be added.
|
||||
Make any fixes/changes *before* branching.
|
||||
|
||||
git branch json-c-${release}
|
||||
git checkout json-c-${release}
|
||||
cd json-c-${release}
|
||||
git checkout -b json-c-${release}
|
||||
|
||||
------------
|
||||
|
||||
Update the version in json_c_version.h
|
||||
Update the version in Doxyfile
|
||||
Update the version in configure.in
|
||||
Use ${release}.
|
||||
Using ${release}:
|
||||
Update the version in json_c_version.h
|
||||
Update the version in CMakeLists.txt (VERSION in the project(...) line)
|
||||
|
||||
Update the libjson_la_LDFLAGS line in Makefile.am to the new version.
|
||||
Generally, unless we're doing a major release, change:
|
||||
-version-info x:y:z
|
||||
to
|
||||
-version-info x:y+1:z
|
||||
Update the set_target_properties() line in CmakeLists.txt to set the shared
|
||||
library version. Generally, unless we're doing a major release, change:
|
||||
VERSION x.y.z
|
||||
to
|
||||
VERSION x.y+1.z
|
||||
|
||||
------------
|
||||
git commit -a -m "Bump version to ${release}"
|
||||
|
||||
Generate the configure script and other files:
|
||||
sh autogen.sh
|
||||
git add -f Makefile.in aclocal.m4 config.guess \
|
||||
config.sub configure depcomp install-sh \
|
||||
ltmain.sh missing tests/Makefile.in \
|
||||
INSTALL
|
||||
|
||||
# check for anything else to be added:
|
||||
git status --ignored
|
||||
git commit
|
||||
If we're doing a major release (SONAME bump), also bump the version
|
||||
of ALL symbols in json-c.sym.
|
||||
See explanation at https://github.com/json-c/json-c/issues/621
|
||||
More info at: https://software.intel.com/sites/default/files/m/a/1/e/dsohowto.pdf
|
||||
|
||||
------------
|
||||
|
||||
Generate the doxygen documentation:
|
||||
doxygen
|
||||
git add -f doc
|
||||
git commit doc
|
||||
|
||||
(cd ../distcheck && make doc)
|
||||
cp -r -p ../distcheck/doc/{html,Doxyfile} doc/.
|
||||
rm doc/Doxyfile # Remove generated file w/ hardcoded paths
|
||||
git add -f doc
|
||||
git commit doc -m "Generate docs for the ${release} release"
|
||||
|
||||
------------
|
||||
|
||||
cd ..
|
||||
echo .git > excludes
|
||||
echo autom4te.cache >> excludes
|
||||
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
|
||||
Create the release tarballs:
|
||||
|
||||
echo doc >> excludes
|
||||
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
|
||||
cd ..
|
||||
echo .git > excludes
|
||||
tar -czf json-c-${release}.tar.gz -X excludes json-c-${release}
|
||||
|
||||
echo 'doc/*.cmake' >> excludes
|
||||
echo 'doc/CMakeFiles' >> excludes
|
||||
echo 'doc/Makefile' >> excludes
|
||||
echo 'doc/Doxyfile' >> excludes
|
||||
echo 'doc/html' >> excludes
|
||||
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release}
|
||||
|
||||
------------
|
||||
|
||||
Tag the branch:
|
||||
cd json-c-${release}
|
||||
git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
|
||||
|
||||
git push origin json-c-${release}
|
||||
git push --tags
|
||||
cd json-c-${release}
|
||||
git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}"
|
||||
|
||||
git push origin json-c-${release}
|
||||
git push --tags
|
||||
|
||||
------------
|
||||
|
||||
Go to Amazon S3 service at:
|
||||
https://console.aws.amazon.com/s3/
|
||||
|
||||
Upload the two tarballs in the json-c_releases folder.
|
||||
When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible.
|
||||
Upload the two tarballs in the json-c_releases/releases folder.
|
||||
* Expand "Permissions", pick "Grant public-read access"
|
||||
* Expand "Properties", ensure "Standard" storage class is picked.
|
||||
|
||||
Logout of Amazon S3, and verify that the files are visible.
|
||||
https://s3.amazonaws.com/json-c_releases/releases/index.html
|
||||
@@ -81,37 +133,57 @@ Logout of Amazon S3, and verify that the files are visible.
|
||||
|
||||
Post-release checklist:
|
||||
|
||||
git checkout master
|
||||
Add new section to ChangeLog
|
||||
Update the version in json_c_version.h
|
||||
Update the version in Doxyfile
|
||||
Update the version in configure.in
|
||||
Use ${release}.99 to indicate a version "newer" than anything on the branch.
|
||||
git checkout master
|
||||
|
||||
Leave the libjson_la_LDFLAGS line in Makefile.am alone.
|
||||
For more details see:
|
||||
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
||||
Add new section to ChangeLog for ${release}+1
|
||||
|
||||
Use ${release}.99 to indicate a version "newer" than anything on the branch:
|
||||
Update the version in json_c_version.h
|
||||
Update the version in CMakeLists.txt
|
||||
|
||||
Update the set_target_properties() line in CmakeLists.txt to match the release branch.
|
||||
|
||||
Add a new empty section to the json-c.sym file, for ${release}+1
|
||||
|
||||
git commit -a -m "Update the master branch to version ${release}.99"
|
||||
git push
|
||||
|
||||
------------
|
||||
|
||||
Update the gh-pages branch with new docs:
|
||||
|
||||
cd json-c-${release}
|
||||
git checkout json-c-${release}
|
||||
cd ..
|
||||
cd json-c-${release}
|
||||
git checkout json-c-${release}
|
||||
cd ..
|
||||
|
||||
git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
|
||||
cd json-c-pages
|
||||
mkdir json-c-${release}
|
||||
cp -R ../json-c-${release}/doc json-c-${release}/.
|
||||
cp ../json-c-${release}/README-WIN32.html json-c-${release}/.
|
||||
git add json-c-${release}
|
||||
git commit
|
||||
git clone -b gh-pages https://github.com/json-c/json-c json-c-pages
|
||||
cd json-c-pages
|
||||
mkdir json-c-${release}
|
||||
cp -R ../json-c-${release}/doc json-c-${release}/.
|
||||
git add json-c-${release}
|
||||
rm json-c-current-release
|
||||
ln -s json-c-${release} json-c-current-release
|
||||
git commit -a -m "Add the ${release} docs."
|
||||
|
||||
vi index.html
|
||||
Add/change links to current release.
|
||||
vi index.html
|
||||
# Add/change links to current release.
|
||||
|
||||
git commit -a -m "Update the doc links to point at ${release}"
|
||||
|
||||
git push
|
||||
|
||||
------------
|
||||
|
||||
Update checksums on wiki page.
|
||||
|
||||
cd ..
|
||||
openssl sha -sha256 json-c*gz
|
||||
openssl md5 json-c*gz
|
||||
|
||||
Copy and paste this output into the wiki page at:
|
||||
* https://github.com/json-c/json-c/wiki
|
||||
* https://github.com/json-c/json-c/wiki/Old-Releases
|
||||
|
||||
------------
|
||||
|
||||
Send an email to the mailing list.
|
||||
|
||||
|
||||
31
STYLE.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
In general:
|
||||
For minor changes to a function, copy the existing formatting.
|
||||
When changing the style, commit that separately from other changes.
|
||||
For new code and major changes to a function, switch to the official json-c style.
|
||||
|
||||
Official json-c style:
|
||||
|
||||
Aim for readability, not strict conformance to fixed style rules.
|
||||
Formatting is tab based; previous attempts at proper alignment with
|
||||
spaces for continuation lines have been abandoned in favor of the
|
||||
convenience of using clang-format.
|
||||
Refer to the .clang-format file for details, and run the tool before commit:
|
||||
|
||||
clang-format -i somefile.c foo.h
|
||||
|
||||
For sections of code that would be significantly negatively impacted, surround
|
||||
them with magic comments to disable formatting:
|
||||
|
||||
/* clang-format off */
|
||||
...code...
|
||||
/* clang-format on */
|
||||
|
||||
|
||||
Naming:
|
||||
Words within function and variable names are separated with underscores. Avoid camel case.
|
||||
Prefer longer, more descriptive names, but not excessively so. No single letter variable names.
|
||||
|
||||
Other:
|
||||
Variables should be defined for the smallest scope needed.
|
||||
Functions should be defined static when possible.
|
||||
When possible, avoid exposing internals in the public API.
|
||||
46
abi-check.sh
Normal file
@@ -0,0 +1,46 @@
|
||||
#!/bin/sh
|
||||
|
||||
# The 0.17 release is broken
|
||||
#prev=0.17
|
||||
prev=0.16
|
||||
release=0.18
|
||||
|
||||
# ... clone json-c, abi-compliance-checker, abi-dumper
|
||||
|
||||
if [ "$1" != "--skip-build" ] ; then
|
||||
mkdir build
|
||||
cd build
|
||||
CFLAGS=-Og cmake -DCMAKE_INSTALL_PREFIX=~/json-c-installs/json-c-${release} ..
|
||||
make && make test && make install
|
||||
fi
|
||||
|
||||
# Assume the old version has already been built
|
||||
|
||||
cd ~/abi-compliance-checker
|
||||
mkxml()
|
||||
{
|
||||
ver="$1"
|
||||
cat <<EOF > json-c-${ver}.xml
|
||||
<foo>
|
||||
<version>
|
||||
${ver}
|
||||
</version>
|
||||
|
||||
<headers>
|
||||
../json-c-installs/json-c-${ver}/include/json-c
|
||||
</headers>
|
||||
|
||||
<libs>
|
||||
../json-c-installs/json-c-${ver}/lib64/libjson-c.so
|
||||
</libs>
|
||||
</foo>
|
||||
EOF
|
||||
}
|
||||
mkxml ${release}
|
||||
mkxml ${prev}
|
||||
|
||||
perl abi-compliance-checker.pl -lib json-c -dump json-c-${prev}.xml -dump-path ./ABI-${prev}.dump
|
||||
perl abi-compliance-checker.pl -lib json-c -dump json-c-${release}.xml -dump-path ./ABI-${release}.dump
|
||||
perl abi-compliance-checker.pl -l json-c -old ABI-${prev}.dump -new ABI-${release}.dump
|
||||
|
||||
echo "look in compat_reports/json-c/..."
|
||||
122
apps/CMakeLists.txt
Normal file
@@ -0,0 +1,122 @@
|
||||
|
||||
cmake_minimum_required(VERSION 2.8) # see ../CMakeLists.txt for why 2.8
|
||||
|
||||
if(POLICY CMP0075)
|
||||
cmake_policy(SET CMP0075 NEW)
|
||||
endif()
|
||||
|
||||
include(CheckSymbolExists)
|
||||
include(CheckIncludeFile)
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
||||
# First, sort out whether we're running inside a json-c build,
|
||||
# or standalone, such as part of a benchmark build.
|
||||
|
||||
if ("${PROJECT_NAME}" STREQUAL "json-c")
|
||||
# Part of an overall json-c build
|
||||
set(APPS_LINK_LIBS "${PROJECT_NAME}")
|
||||
|
||||
# We know we have this in our current sources:
|
||||
set(HAVE_JSON_TOKENER_GET_PARSE_END)
|
||||
|
||||
else()
|
||||
|
||||
# Standalone mode, using an already installed json-c library, somewhere.
|
||||
# The path to the json-c install must be specified with -DCMAKE_PREFIX_PATH=...
|
||||
|
||||
project(apps)
|
||||
find_package(PkgConfig)
|
||||
|
||||
# PkgConfig is supposed to include CMAKE_PREFIX_PATH in the PKG_CONFIG_PATH
|
||||
# that's used when running pkg-config, but it just doesn't work :(
|
||||
# https://gitlab.kitware.com/cmake/cmake/issues/18150
|
||||
#set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH True)
|
||||
|
||||
# Instead, we handle it explicitly here and update PKG_CONFIG_PATH ourselves.
|
||||
if (NOT CMAKE_PREFIX_PATH)
|
||||
message(FATAL_ERROR "Please specify -DCMAKE_PREFIX_PATH=... when running cmake.")
|
||||
endif()
|
||||
|
||||
# Note: find_file isn't recursive :(
|
||||
find_file(PC_FILE_PATH "json-c.pc"
|
||||
PATHS "${CMAKE_PREFIX_PATH}/lib64" "${CMAKE_PREFIX_PATH}/lib"
|
||||
PATH_SUFFIXES "pkgconfig"
|
||||
NO_DEFAULT_PATH)
|
||||
get_filename_component(PC_DIR_PATH "${PC_FILE_PATH}" DIRECTORY)
|
||||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${PC_DIR_PATH}")
|
||||
message(STATUS "PC_FILE_PATH=${PC_FILE_PATH}")
|
||||
message(STATUS "PC_DIR_PATH=${PC_DIR_PATH}")
|
||||
|
||||
pkg_check_modules(PC_JSONC json-c)
|
||||
if (PC_JSONC_FOUND)
|
||||
message(STATUS "Found json-c using pkg-config: ${PC_JSONC_PREFIX}")
|
||||
message(STATUS " PC_JSONC_INCLUDE_DIRS=${PC_JSONC_INCLUDE_DIRS}")
|
||||
message(STATUS " PC_JSONC_LIBRARIES=${PC_JSONC_LIBRARIES}")
|
||||
message(STATUS " PC_JSONC_LIBRARY_DIRS=${PC_JSONC_LIBRARY_DIRS}")
|
||||
link_directories(${PC_JSONC_LIBRARY_DIRS})
|
||||
include_directories(${PC_JSONC_INCLUDE_DIRS})
|
||||
# for target_link_libraries(...)
|
||||
set(APPS_INCLUDE_DIRS ${PC_JSONC_INCLUDE_DIRS})
|
||||
set(APPS_LINK_DIRS ${PC_JSONC_LIBRARY_DIRS})
|
||||
set(APPS_LINK_LIBS ${PC_JSONC_LIBRARIES})
|
||||
else()
|
||||
message(STATUS "Using find_package to locate json-c")
|
||||
|
||||
# Note: find_package needs CMAKE_PREFIX_PATH set appropriately.
|
||||
# XXX json-c's installed cmake files don't actually set up what's
|
||||
# needed to use find_package() by itself, so we're just using it
|
||||
# to confirm the top of the install location.
|
||||
find_package(json-c CONFIG) # sets json-c_DIR
|
||||
|
||||
# Assume json-c-config.cmake is in lib64/cmake/json-c/
|
||||
get_filename_component(json-c_TOP "${json-c_DIR}/../../.." ABSOLUTE)
|
||||
get_filename_component(json-c_LIBDIR "${json-c_DIR}/../.." ABSOLUTE)
|
||||
|
||||
message(STATUS " json-c_TOP=${json-c_TOP}")
|
||||
message(STATUS " json-c_DIR=${json-c_DIR}")
|
||||
message(STATUS " json-c_LIBDIR=${json-c_LIBDIR}")
|
||||
|
||||
link_directories(${json-c_LIBDIR})
|
||||
include_directories(${json-c_TOP}/include)
|
||||
include_directories(${json-c_TOP}/include/json-c)
|
||||
set(APPS_LINK_DIRS "${json-c_LIBDIR}")
|
||||
set(APPS_INCLUDE_DIRS "${json-c_TOP}/include;${json-c_TOP}/include/json-c")
|
||||
|
||||
set(APPS_LINK_LIBS json-c)
|
||||
endif()
|
||||
|
||||
set(CMAKE_REQUIRED_LINK_OPTIONS "-L${APPS_LINK_DIRS}")
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${APPS_LINK_LIBS})
|
||||
set(CMAKE_REQUIRED_INCLUDES ${APPS_INCLUDE_DIRS})
|
||||
check_symbol_exists(json_tokener_get_parse_end "json_tokener.h" HAVE_JSON_TOKENER_GET_PARSE_END)
|
||||
|
||||
endif() # end "standalone mode" block
|
||||
|
||||
# ---------------------------------
|
||||
|
||||
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) # for getrusage
|
||||
if (HAVE_SYS_RESOURCE_H)
|
||||
check_symbol_exists(getrusage "sys/resource.h" HAVE_GETRUSAGE)
|
||||
endif()
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/apps_config.h.in
|
||||
${PROJECT_BINARY_DIR}/apps_config.h)
|
||||
message(STATUS "Wrote ${PROJECT_BINARY_DIR}/apps_config.h")
|
||||
|
||||
# ---------------------------------
|
||||
|
||||
include_directories(PUBLIC ${CMAKE_SOURCE_DIR})
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
|
||||
# ---------------------------------
|
||||
|
||||
# Now, finally, the actual executables we're building:
|
||||
|
||||
add_executable(json_parse json_parse.c)
|
||||
target_link_libraries(json_parse PRIVATE ${APPS_LINK_LIBS})
|
||||
|
||||
# Note: it is intentional that there are no install instructions here yet.
|
||||
# When/if the interface of the app(s) listed here settles down enough to
|
||||
# publish as part of a regular build that will be added.
|
||||
|
||||
8
apps/cmake/apps_config.h.in
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define if you have the `getrusage' function. */
|
||||
#cmakedefine HAVE_GETRUSAGE
|
||||
|
||||
#cmakedefine HAVE_JSON_TOKENER_GET_PARSE_END
|
||||
204
apps/json_parse.c
Normal file
@@ -0,0 +1,204 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "apps_config.h"
|
||||
|
||||
/* XXX for a regular program, these should be <json-c/foo.h>
|
||||
* but that's inconvenient when building in the json-c source tree.
|
||||
*/
|
||||
#include "json_object.h"
|
||||
#include "json_tokener.h"
|
||||
#include "json_util.h"
|
||||
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/resource.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifndef JSON_NORETURN
|
||||
#if defined(_MSC_VER)
|
||||
#define JSON_NORETURN __declspec(noreturn)
|
||||
#elif defined(__OS400__)
|
||||
#define JSON_NORETURN
|
||||
#else
|
||||
/* 'cold' attribute is for optimization, telling the computer this code
|
||||
* path is unlikely.
|
||||
*/
|
||||
#define JSON_NORETURN __attribute__((noreturn, cold))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static int formatted_output = JSON_C_TO_STRING_SPACED;
|
||||
static int show_output = 1;
|
||||
static int strict_mode = 0;
|
||||
static int color = 0;
|
||||
static const char *fname = NULL;
|
||||
|
||||
#ifndef HAVE_JSON_TOKENER_GET_PARSE_END
|
||||
#define json_tokener_get_parse_end(tok) ((tok)->char_offset)
|
||||
#endif
|
||||
|
||||
JSON_NORETURN static void usage(const char *argv0, int exitval, const char *errmsg);
|
||||
static void showmem(void);
|
||||
static int parseit(int fd, int (*callback)(struct json_object *));
|
||||
static int showobj(struct json_object *new_obj);
|
||||
|
||||
static void showmem(void)
|
||||
{
|
||||
#ifdef HAVE_GETRUSAGE
|
||||
struct rusage rusage;
|
||||
memset(&rusage, 0, sizeof(rusage));
|
||||
getrusage(RUSAGE_SELF, &rusage);
|
||||
fprintf(stderr, "maxrss: %ld KB\n", rusage.ru_maxrss);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int parseit(int fd, int (*callback)(struct json_object *))
|
||||
{
|
||||
struct json_object *obj;
|
||||
char buf[32768];
|
||||
ssize_t ret;
|
||||
int depth = JSON_TOKENER_DEFAULT_DEPTH;
|
||||
json_tokener *tok;
|
||||
|
||||
tok = json_tokener_new_ex(depth);
|
||||
if (!tok)
|
||||
{
|
||||
fprintf(stderr, "unable to allocate json_tokener: %s\n", strerror(errno));
|
||||
return 1;
|
||||
}
|
||||
json_tokener_set_flags(tok, JSON_TOKENER_STRICT
|
||||
#ifdef JSON_TOKENER_ALLOW_TRAILING_CHARS
|
||||
| JSON_TOKENER_ALLOW_TRAILING_CHARS
|
||||
#endif
|
||||
);
|
||||
|
||||
// XXX push this into some kind of json_tokener_parse_fd API?
|
||||
// json_object_from_fd isn't flexible enough, and mirroring
|
||||
// everything you can do with a tokener into json_util.c seems
|
||||
// like the wrong approach.
|
||||
size_t total_read = 0;
|
||||
while ((ret = read(fd, buf, sizeof(buf))) > 0)
|
||||
{
|
||||
size_t retu = (size_t)ret; // We know it's positive
|
||||
total_read += retu;
|
||||
size_t start_pos = 0;
|
||||
while (start_pos != retu)
|
||||
{
|
||||
obj = json_tokener_parse_ex(tok, &buf[start_pos], retu - start_pos);
|
||||
enum json_tokener_error jerr = json_tokener_get_error(tok);
|
||||
size_t parse_end = json_tokener_get_parse_end(tok);
|
||||
if (obj == NULL && jerr != json_tokener_continue)
|
||||
{
|
||||
const char *aterr = (start_pos + parse_end < (int)sizeof(buf)) ?
|
||||
&buf[start_pos + parse_end] : "";
|
||||
fflush(stdout);
|
||||
size_t fail_offset = total_read - retu + start_pos + parse_end;
|
||||
fprintf(stderr, "Failed at offset %lu: %s %c\n", (unsigned long)fail_offset,
|
||||
json_tokener_error_desc(jerr), aterr[0]);
|
||||
json_tokener_free(tok);
|
||||
return 1;
|
||||
}
|
||||
if (obj != NULL)
|
||||
{
|
||||
int cb_ret = callback(obj);
|
||||
json_object_put(obj);
|
||||
if (cb_ret != 0)
|
||||
{
|
||||
json_tokener_free(tok);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
start_pos += json_tokener_get_parse_end(tok);
|
||||
assert(start_pos <= retu);
|
||||
}
|
||||
}
|
||||
if (ret < 0)
|
||||
{
|
||||
fprintf(stderr, "error reading fd %d: %s\n", fd, strerror(errno));
|
||||
}
|
||||
|
||||
json_tokener_free(tok);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int showobj(struct json_object *new_obj)
|
||||
{
|
||||
if (new_obj == NULL)
|
||||
{
|
||||
fprintf(stderr, "%s: Failed to parse\n", fname);
|
||||
return 1;
|
||||
}
|
||||
|
||||
fprintf(stderr, "Successfully parsed object from %s\n", fname);
|
||||
|
||||
if (show_output)
|
||||
{
|
||||
const char *output;
|
||||
output = json_object_to_json_string_ext(new_obj, formatted_output | color);
|
||||
printf("%s\n", output);
|
||||
}
|
||||
|
||||
showmem();
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void usage(const char *argv0, int exitval, const char *errmsg)
|
||||
{
|
||||
FILE *fp = stdout;
|
||||
if (exitval != 0)
|
||||
fp = stderr;
|
||||
if (errmsg != NULL)
|
||||
fprintf(fp, "ERROR: %s\n\n", errmsg);
|
||||
fprintf(fp, "Usage: %s [-f|-F <arg>] [-n] [-s]\n", argv0);
|
||||
fprintf(fp, " -f - Format the output to stdout with JSON_C_TO_STRING_PRETTY (default is JSON_C_TO_STRING_SPACED)\n");
|
||||
fprintf(fp, " -F - Format the output to stdout with <arg>, e.g. 0 for JSON_C_TO_STRING_PLAIN\n");
|
||||
fprintf(fp, " -n - No output\n");
|
||||
fprintf(fp, " -c - color\n");
|
||||
fprintf(fp, " -s - Parse in strict mode, flags:\n");
|
||||
fprintf(fp, " JSON_TOKENER_STRICT|JSON_TOKENER_ALLOW_TRAILING_CHARS\n");
|
||||
fprintf(fp, " Diagnostic information will be emitted to stderr\n");
|
||||
|
||||
fprintf(fp, "\nWARNING WARNING WARNING\n");
|
||||
fprintf(fp, "This is a prototype, it may change or be removed at any time!\n");
|
||||
exit(exitval);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int opt;
|
||||
|
||||
while ((opt = getopt(argc, argv, "fF:hnsc")) != -1)
|
||||
{
|
||||
switch (opt)
|
||||
{
|
||||
case 'f': formatted_output = JSON_C_TO_STRING_PRETTY; break;
|
||||
case 'F': formatted_output = atoi(optarg); break;
|
||||
case 'n': show_output = 0; break;
|
||||
case 's': strict_mode = 1; break;
|
||||
case 'c': color = JSON_C_TO_STRING_COLOR; break;
|
||||
case 'h': usage(argv[0], 0, NULL);
|
||||
default: /* '?' */ usage(argv[0], EXIT_FAILURE, "Unknown arguments");
|
||||
}
|
||||
}
|
||||
if (optind >= argc)
|
||||
{
|
||||
usage(argv[0], EXIT_FAILURE, "Expected argument after options");
|
||||
}
|
||||
fname = argv[optind];
|
||||
|
||||
int fd = open(argv[optind], O_RDONLY, 0);
|
||||
showmem();
|
||||
if (parseit(fd, showobj) != 0)
|
||||
exit(EXIT_FAILURE);
|
||||
showmem();
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
125
appveyor.yml
Normal file
@@ -0,0 +1,125 @@
|
||||
version: '{branch}.{build}'
|
||||
|
||||
image:
|
||||
# b_toolset: v143
|
||||
- Visual Studio 2022
|
||||
|
||||
# VS2015 also used for earlier VS builds
|
||||
# aka os: Windows Server 2012 R2
|
||||
- Visual Studio 2015
|
||||
|
||||
# aka os: Windows Server 2016
|
||||
# b_toolset: v141
|
||||
- Visual Studio 2017
|
||||
|
||||
# aka os: Windows Server 2019
|
||||
# b_toolset: v142
|
||||
- Visual Studio 2019
|
||||
|
||||
platform: x64
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- b_toolset: Windows7.1SDK
|
||||
|
||||
- b_toolset: v120
|
||||
|
||||
- b_toolset: v140
|
||||
|
||||
- b_toolset: v141
|
||||
|
||||
- b_toolset: v142
|
||||
|
||||
- b_toolset: v143
|
||||
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
|
||||
build_script:
|
||||
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_INSTALL_PREFIX=t_install .
|
||||
- cmake --build . --target install
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
# Skip release builds for all except the newest image
|
||||
- image: Visual Studio 2015
|
||||
configuration: Release
|
||||
|
||||
# In the "old" image, new toolsets aren't available:
|
||||
- image: Visual Studio 2015
|
||||
b_toolset: v141
|
||||
|
||||
- image: Visual Studio 2015
|
||||
b_toolset: v142
|
||||
|
||||
- image: Visual Studio 2015
|
||||
b_toolset: v143
|
||||
|
||||
# ----
|
||||
|
||||
- image: Visual Studio 2017
|
||||
configuration: Release
|
||||
|
||||
# In the "new" images, exclude all toolsets except the relevant
|
||||
# one for that image:
|
||||
|
||||
- image: Visual Studio 2017
|
||||
b_toolset: Windows7.1SDK
|
||||
|
||||
- image: Visual Studio 2017
|
||||
b_toolset: v120
|
||||
|
||||
- image: Visual Studio 2017
|
||||
b_toolset: v140
|
||||
|
||||
- image: Visual Studio 2017
|
||||
b_toolset: v142
|
||||
|
||||
- image: Visual Studio 2017
|
||||
b_toolset: v143
|
||||
|
||||
# ----
|
||||
|
||||
- image: Visual Studio 2019
|
||||
configuration: Release
|
||||
|
||||
- image: Visual Studio 2019
|
||||
b_toolset: Windows7.1SDK
|
||||
|
||||
- image: Visual Studio 2019
|
||||
b_toolset: v120
|
||||
|
||||
- image: Visual Studio 2019
|
||||
b_toolset: v140
|
||||
|
||||
- image: Visual Studio 2019
|
||||
b_toolset: v141
|
||||
|
||||
- image: Visual Studio 2019
|
||||
b_toolset: v143
|
||||
|
||||
# ----
|
||||
|
||||
- image: Visual Studio 2022
|
||||
b_toolset: Windows7.1SDK
|
||||
|
||||
- image: Visual Studio 2022
|
||||
b_toolset: v120
|
||||
|
||||
- image: Visual Studio 2022
|
||||
b_toolset: v140
|
||||
|
||||
- image: Visual Studio 2022
|
||||
b_toolset: v141
|
||||
|
||||
- image: Visual Studio 2022
|
||||
b_toolset: v142
|
||||
|
||||
after_build:
|
||||
- cd t_install
|
||||
- 7z a ../json-c.win32.%b_toolset%.%CONFIGURATION%.zip *
|
||||
|
||||
artifacts:
|
||||
- path: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
|
||||
name: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
|
||||
239
arraylist.c
@@ -11,91 +11,216 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#endif /* STDC_HEADERS */
|
||||
|
||||
#if defined(HAVE_STRINGS_H) && !defined(_STRING_H) && !defined(__USE_BSD)
|
||||
# include <strings.h>
|
||||
#include <strings.h>
|
||||
#endif /* HAVE_STRINGS_H */
|
||||
|
||||
#include "bits.h"
|
||||
#ifndef SIZE_T_MAX
|
||||
#if SIZEOF_SIZE_T == SIZEOF_INT
|
||||
#define SIZE_T_MAX UINT_MAX
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG
|
||||
#define SIZE_T_MAX ULONG_MAX
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG
|
||||
#define SIZE_T_MAX ULLONG_MAX
|
||||
#else
|
||||
#error Unable to determine size of size_t
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "arraylist.h"
|
||||
|
||||
struct array_list*
|
||||
array_list_new(array_list_free_fn *free_fn)
|
||||
struct array_list *array_list_new(array_list_free_fn *free_fn)
|
||||
{
|
||||
struct array_list *arr;
|
||||
|
||||
arr = (struct array_list*)calloc(1, sizeof(struct array_list));
|
||||
if(!arr) return NULL;
|
||||
arr->size = ARRAY_LIST_DEFAULT_SIZE;
|
||||
arr->length = 0;
|
||||
arr->free_fn = free_fn;
|
||||
if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) {
|
||||
free(arr);
|
||||
return NULL;
|
||||
}
|
||||
return arr;
|
||||
return array_list_new2(free_fn, ARRAY_LIST_DEFAULT_SIZE);
|
||||
}
|
||||
|
||||
extern void
|
||||
array_list_free(struct array_list *arr)
|
||||
struct array_list *array_list_new2(array_list_free_fn *free_fn, int initial_size)
|
||||
{
|
||||
int i;
|
||||
for(i = 0; i < arr->length; i++)
|
||||
if(arr->array[i]) arr->free_fn(arr->array[i]);
|
||||
free(arr->array);
|
||||
free(arr);
|
||||
struct array_list *arr;
|
||||
|
||||
if (initial_size < 0 || (size_t)initial_size >= SIZE_T_MAX / sizeof(void *))
|
||||
return NULL;
|
||||
arr = (struct array_list *)malloc(sizeof(struct array_list));
|
||||
if (!arr)
|
||||
return NULL;
|
||||
arr->size = initial_size;
|
||||
arr->length = 0;
|
||||
arr->free_fn = free_fn;
|
||||
if (!(arr->array = (void **)malloc(arr->size * sizeof(void *))))
|
||||
{
|
||||
free(arr);
|
||||
return NULL;
|
||||
}
|
||||
return arr;
|
||||
}
|
||||
|
||||
void*
|
||||
array_list_get_idx(struct array_list *arr, int i)
|
||||
extern void array_list_free(struct array_list *arr)
|
||||
{
|
||||
if(i >= arr->length) return NULL;
|
||||
return arr->array[i];
|
||||
size_t i;
|
||||
for (i = 0; i < arr->length; i++)
|
||||
if (arr->array[i])
|
||||
arr->free_fn(arr->array[i]);
|
||||
free(arr->array);
|
||||
free(arr);
|
||||
}
|
||||
|
||||
static int array_list_expand_internal(struct array_list *arr, int max)
|
||||
void *array_list_get_idx(struct array_list *arr, size_t i)
|
||||
{
|
||||
void *t;
|
||||
int new_size;
|
||||
|
||||
if(max < arr->size) return 0;
|
||||
new_size = json_max(arr->size << 1, max);
|
||||
if(!(t = realloc(arr->array, new_size*sizeof(void*)))) return -1;
|
||||
arr->array = (void**)t;
|
||||
(void)memset(arr->array + arr->size, 0, (new_size-arr->size)*sizeof(void*));
|
||||
arr->size = new_size;
|
||||
return 0;
|
||||
if (i >= arr->length)
|
||||
return NULL;
|
||||
return arr->array[i];
|
||||
}
|
||||
|
||||
int
|
||||
array_list_put_idx(struct array_list *arr, int idx, void *data)
|
||||
static int array_list_expand_internal(struct array_list *arr, size_t max)
|
||||
{
|
||||
if(array_list_expand_internal(arr, idx+1)) return -1;
|
||||
if(arr->array[idx]) arr->free_fn(arr->array[idx]);
|
||||
arr->array[idx] = data;
|
||||
if(arr->length <= idx) arr->length = idx + 1;
|
||||
return 0;
|
||||
void *t;
|
||||
size_t new_size;
|
||||
|
||||
if (max < arr->size)
|
||||
return 0;
|
||||
/* Avoid undefined behaviour on size_t overflow */
|
||||
if (arr->size >= SIZE_T_MAX / 2)
|
||||
new_size = max;
|
||||
else
|
||||
{
|
||||
new_size = arr->size << 1;
|
||||
if (new_size < max)
|
||||
new_size = max;
|
||||
}
|
||||
if (new_size > (~((size_t)0)) / sizeof(void *))
|
||||
return -1;
|
||||
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
||||
return -1;
|
||||
arr->array = (void **)t;
|
||||
arr->size = new_size;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
array_list_add(struct array_list *arr, void *data)
|
||||
int array_list_shrink(struct array_list *arr, size_t empty_slots)
|
||||
{
|
||||
return array_list_put_idx(arr, arr->length, data);
|
||||
void *t;
|
||||
size_t new_size;
|
||||
|
||||
if (empty_slots >= SIZE_T_MAX / sizeof(void *) - arr->length)
|
||||
return -1;
|
||||
new_size = arr->length + empty_slots;
|
||||
if (new_size == arr->size)
|
||||
return 0;
|
||||
if (new_size > arr->size)
|
||||
return array_list_expand_internal(arr, new_size);
|
||||
if (new_size == 0)
|
||||
new_size = 1;
|
||||
|
||||
if (!(t = realloc(arr->array, new_size * sizeof(void *))))
|
||||
return -1;
|
||||
arr->array = (void **)t;
|
||||
arr->size = new_size;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
array_list_sort(struct array_list *arr, int(*sort_fn)(const void *, const void *))
|
||||
int array_list_insert_idx(struct array_list *arr, size_t idx, void *data)
|
||||
{
|
||||
qsort(arr->array, arr->length, sizeof(arr->array[0]),
|
||||
(int (*)(const void *, const void *))sort_fn);
|
||||
size_t move_amount;
|
||||
|
||||
if (idx >= arr->length)
|
||||
return array_list_put_idx(arr, idx, data);
|
||||
|
||||
/* we're at full size, what size_t can support */
|
||||
if (arr->length == SIZE_T_MAX)
|
||||
return -1;
|
||||
|
||||
if (array_list_expand_internal(arr, arr->length + 1))
|
||||
return -1;
|
||||
|
||||
move_amount = (arr->length - idx) * sizeof(void *);
|
||||
memmove(arr->array + idx + 1, arr->array + idx, move_amount);
|
||||
arr->array[idx] = data;
|
||||
arr->length++;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
array_list_length(struct array_list *arr)
|
||||
//static inline int _array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||
int array_list_put_idx(struct array_list *arr, size_t idx, void *data)
|
||||
{
|
||||
return arr->length;
|
||||
if (idx > SIZE_T_MAX - 1)
|
||||
return -1;
|
||||
if (array_list_expand_internal(arr, idx + 1))
|
||||
return -1;
|
||||
if (idx < arr->length && arr->array[idx])
|
||||
arr->free_fn(arr->array[idx]);
|
||||
arr->array[idx] = data;
|
||||
if (idx > arr->length)
|
||||
{
|
||||
/* Zero out the arraylist slots in between the old length
|
||||
and the newly added entry so we know those entries are
|
||||
empty.
|
||||
e.g. when setting array[7] in an array that used to be
|
||||
only 5 elements longs, array[5] and array[6] need to be
|
||||
set to 0.
|
||||
*/
|
||||
memset(arr->array + arr->length, 0, (idx - arr->length) * sizeof(void *));
|
||||
}
|
||||
if (arr->length <= idx)
|
||||
arr->length = idx + 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int array_list_add(struct array_list *arr, void *data)
|
||||
{
|
||||
/* Repeat some of array_list_put_idx() so we can skip several
|
||||
checks that we know are unnecessary when appending at the end
|
||||
*/
|
||||
size_t idx = arr->length;
|
||||
if (idx > SIZE_T_MAX - 1)
|
||||
return -1;
|
||||
if (array_list_expand_internal(arr, idx + 1))
|
||||
return -1;
|
||||
arr->array[idx] = data;
|
||||
arr->length++;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void array_list_sort(struct array_list *arr, int (*compar)(const void *, const void *))
|
||||
{
|
||||
qsort(arr->array, arr->length, sizeof(arr->array[0]), compar);
|
||||
}
|
||||
|
||||
void *array_list_bsearch(const void **key, struct array_list *arr,
|
||||
int (*compar)(const void *, const void *))
|
||||
{
|
||||
return bsearch(key, arr->array, arr->length, sizeof(arr->array[0]), compar);
|
||||
}
|
||||
|
||||
size_t array_list_length(struct array_list *arr)
|
||||
{
|
||||
return arr->length;
|
||||
}
|
||||
|
||||
int array_list_del_idx(struct array_list *arr, size_t idx, size_t count)
|
||||
{
|
||||
size_t i, stop;
|
||||
|
||||
/* Avoid overflow in calculation with large indices. */
|
||||
if (idx > SIZE_T_MAX - count)
|
||||
return -1;
|
||||
stop = idx + count;
|
||||
if (idx >= arr->length || stop > arr->length)
|
||||
return -1;
|
||||
for (i = idx; i < stop; ++i)
|
||||
{
|
||||
// Because put_idx can skip entries, we need to check if
|
||||
// there's actually anything in each slot we're erasing.
|
||||
if (arr->array[i])
|
||||
arr->free_fn(arr->array[i]);
|
||||
}
|
||||
memmove(arr->array + idx, arr->array + stop, (arr->length - stop) * sizeof(void *));
|
||||
arr->length -= count;
|
||||
return 0;
|
||||
}
|
||||
|
||||
76
arraylist.h
@@ -9,45 +9,79 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _arraylist_h_
|
||||
#define _arraylist_h_
|
||||
/**
|
||||
* @file
|
||||
* @brief Internal methods for working with json_type_array objects.
|
||||
* Although this is exposed by the json_object_get_array() method,
|
||||
* it is not recommended for direct use.
|
||||
*/
|
||||
#ifndef _json_c_arraylist_h_
|
||||
#define _json_c_arraylist_h_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define ARRAY_LIST_DEFAULT_SIZE 32
|
||||
|
||||
typedef void (array_list_free_fn) (void *data);
|
||||
typedef void(array_list_free_fn)(void *data);
|
||||
|
||||
struct array_list
|
||||
{
|
||||
void **array;
|
||||
int length;
|
||||
int size;
|
||||
array_list_free_fn *free_fn;
|
||||
void **array;
|
||||
size_t length;
|
||||
size_t size;
|
||||
array_list_free_fn *free_fn;
|
||||
};
|
||||
typedef struct array_list array_list;
|
||||
|
||||
extern struct array_list*
|
||||
array_list_new(array_list_free_fn *free_fn);
|
||||
/**
|
||||
* Allocate an array_list of the default size (32).
|
||||
* @deprecated Use array_list_new2() instead.
|
||||
*/
|
||||
extern struct array_list *array_list_new(array_list_free_fn *free_fn);
|
||||
|
||||
extern void
|
||||
array_list_free(struct array_list *al);
|
||||
/**
|
||||
* Allocate an array_list of the desired size.
|
||||
*
|
||||
* If possible, the size should be chosen to closely match
|
||||
* the actual number of elements expected to be used.
|
||||
* If the exact size is unknown, there are tradeoffs to be made:
|
||||
* - too small - the array_list code will need to call realloc() more
|
||||
* often (which might incur an additional memory copy).
|
||||
* - too large - will waste memory, but that can be mitigated
|
||||
* by calling array_list_shrink() once the final size is known.
|
||||
*
|
||||
* @see array_list_shrink
|
||||
*/
|
||||
extern struct array_list *array_list_new2(array_list_free_fn *free_fn, int initial_size);
|
||||
|
||||
extern void*
|
||||
array_list_get_idx(struct array_list *al, int i);
|
||||
extern void array_list_free(struct array_list *al);
|
||||
|
||||
extern int
|
||||
array_list_put_idx(struct array_list *al, int i, void *data);
|
||||
extern void *array_list_get_idx(struct array_list *al, size_t i);
|
||||
|
||||
extern int
|
||||
array_list_add(struct array_list *al, void *data);
|
||||
extern int array_list_insert_idx(struct array_list *al, size_t i, void *data);
|
||||
|
||||
extern int
|
||||
array_list_length(struct array_list *al);
|
||||
extern int array_list_put_idx(struct array_list *al, size_t i, void *data);
|
||||
|
||||
extern void
|
||||
array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
|
||||
extern int array_list_add(struct array_list *al, void *data);
|
||||
|
||||
extern size_t array_list_length(struct array_list *al);
|
||||
|
||||
extern void array_list_sort(struct array_list *arr, int (*compar)(const void *, const void *));
|
||||
|
||||
extern void *array_list_bsearch(const void **key, struct array_list *arr,
|
||||
int (*compar)(const void *, const void *));
|
||||
|
||||
extern int array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
|
||||
|
||||
/**
|
||||
* Shrink the array list to just enough to fit the number of elements in it,
|
||||
* plus empty_slots.
|
||||
*/
|
||||
extern int array_list_shrink(struct array_list *arr, size_t empty_slots);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
13
autogen.sh
@@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
autoreconf -v --install || exit 1
|
||||
|
||||
# If there are any options, assume the user wants to run configure.
|
||||
# To run configure w/o any options, use ./autogen.sh --configure
|
||||
if [ $# -gt 0 ] ; then
|
||||
case "$1" in
|
||||
--conf*)
|
||||
shift 1
|
||||
;;
|
||||
esac
|
||||
exec ./configure "$@"
|
||||
fi
|
||||
80
bench/README.bench.md
Normal file
@@ -0,0 +1,80 @@
|
||||
|
||||
Benchmark tests for json-c
|
||||
|
||||
General strategy:
|
||||
-------------------
|
||||
|
||||
* Identify "after" commit hash
|
||||
* Use provided directory
|
||||
* Use provided commit hash
|
||||
* Local changes in current working directory
|
||||
* ${cur_branch}
|
||||
* Identify "before" commit hash, in order of preference
|
||||
* Use provided directory
|
||||
* Use provided commit hash
|
||||
* Use origin/${cur_branch}, if different from ${after_commit}
|
||||
* Use previous release
|
||||
|
||||
* If not using existing dir, clone to src-${after_commit}
|
||||
* or, checkout appropriate commit in existing src-${after_commit}
|
||||
* Create build & install dirs for ${after_commit}
|
||||
* Build & install ${after_commit}
|
||||
* Compile benchmark programs against install-${after_commit}
|
||||
|
||||
* If not using existing dir, clone to src-${before_commit}
|
||||
* or, checkout appropriate commit in existing src-${before_commit}
|
||||
* Create build & install dirs for ${before_commit}
|
||||
* Build & install ${before_commit}
|
||||
* Compile benchmark programs against install-${before_commit}
|
||||
|
||||
* Run benchmark in each location
|
||||
* Compare results
|
||||
|
||||
heaptrack memory profiler
|
||||
---------------------------
|
||||
|
||||
https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux.html
|
||||
|
||||
|
||||
```
|
||||
yum install libdwarf-devel elfutils boost-devel libunwind-devel
|
||||
|
||||
git clone git://anongit.kde.org/heaptrack
|
||||
cd heaptrack
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=$HOME/heaptrack-install ..
|
||||
make install
|
||||
```
|
||||
|
||||
|
||||
Issues
|
||||
--------
|
||||
|
||||
* jc-bench.sh is incomplete.
|
||||
|
||||
* valgrind massif misreports "extra-heap" bytes?
|
||||
|
||||
"json_parse -n canada.json" shows 38640 KB maxrss.
|
||||
|
||||
Using valgrind --tool=massif, a large amount of memory is listed as
|
||||
wasted "extra-heap" bytes. (~5.6MB)
|
||||
|
||||
```
|
||||
valgrind --tool=massif --massif-out-file=massif.out ./json_parse -n ~/canada.json
|
||||
ms_print massif.out
|
||||
```
|
||||
|
||||
|
||||
Using heaptrack, and analyzing the histogram, only shows ~2.6MB
|
||||
```
|
||||
heaptrack ./json_parse -n canada.json
|
||||
heaptrack --analyze heaptrack*gz -H histogram.out
|
||||
awk ' { s=$1; count=$2; ru=(int((s+ 15) / 16)) * 16; wasted = ((ru-s)*count); print s, count, ru-s, wasted; total=total+wasted} END { print "Total: ", total }' histogram.out
|
||||
```
|
||||
|
||||
With the (unreleased) arraylist trimming changes, maxrss reported by
|
||||
getrusage() goes down, but massif claims *more* total usage, and a HUGE
|
||||
extra-heap amount (50% of total).
|
||||
|
||||
284
bench/jc-bench.sh
Executable file
@@ -0,0 +1,284 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Benchmarking harness for json-c
|
||||
#
|
||||
# Use this to compare the behavior of two different versions of the library,
|
||||
# such as json-c-0.14 release vs master, master vs local changes, etc...
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
trap 'echo "FAILED!"' EXIT
|
||||
|
||||
RUNDIR=$(dirname "$0")
|
||||
RUNDIR=$(cd "$RUNDIR" && pwd)
|
||||
|
||||
TOP=$(cd "$RUNDIR/.." && pwd)
|
||||
|
||||
usage()
|
||||
{
|
||||
exitval=$1
|
||||
errmsg=$2
|
||||
if [ $exitval -ne 0 ] ; then
|
||||
exec 1>&2
|
||||
fi
|
||||
if [ ! -z "$errmsg" ] ; then
|
||||
echo "ERROR: $errmsg" 1>&2
|
||||
fi
|
||||
cat <<EOF
|
||||
Usage: $0 [-h] [-v] [--build] [--run] [--compare] ...XAX...
|
||||
EOF
|
||||
|
||||
exit $extival
|
||||
}
|
||||
|
||||
before_arg=
|
||||
after_arg=
|
||||
do_all=1
|
||||
do_build=0
|
||||
do_run=0
|
||||
do_compare=0
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
case "$1" in
|
||||
--before)
|
||||
before_arg=$2
|
||||
shift
|
||||
;;
|
||||
--after)
|
||||
after_arg=$2
|
||||
shift
|
||||
;;
|
||||
--build)
|
||||
do_all=0
|
||||
do_build=1
|
||||
;;
|
||||
--run)
|
||||
do_all=0
|
||||
do_run=1
|
||||
;;
|
||||
--compare)
|
||||
do_all=0
|
||||
do_compare=1
|
||||
;;
|
||||
-h)
|
||||
usage 0 ""
|
||||
;;
|
||||
-v)
|
||||
set -x
|
||||
;;
|
||||
*)
|
||||
usage 1 "Unknown args: $*"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
WORK="${RUNDIR}/work"
|
||||
mkdir -p "${WORK}"
|
||||
|
||||
DATA="${RUNDIR}/data"
|
||||
mkdir -p "${DATA}"
|
||||
|
||||
for file in citm_catalog.json twitter.json canada.json ; do
|
||||
if [ ! -r "${DATA}/${file}" ] ; then
|
||||
echo "Fetching ${file} from github.com/mloskot/json_benchmark"
|
||||
URL="https://github.com/mloskot/json_benchmark/raw/master/data/${file}"
|
||||
curl -s -L -o "${DATA}/${file}" "$URL"
|
||||
fi
|
||||
done
|
||||
echo
|
||||
|
||||
# Identify "after" commit hash, in order of preference
|
||||
if [ ! -z "$after_arg" -a -d "$after_arg" ] ; then
|
||||
# Use provided directory
|
||||
after_src_dir="$after_arg"
|
||||
after_commit=
|
||||
echo "Using provided directory [$after_arg] as 'after'"
|
||||
else
|
||||
_commit=
|
||||
if [ ! -z "$after_arg" ] ; then
|
||||
# Use provided commit hash
|
||||
_commit=$(git rev-parse --verify "$after_arg")
|
||||
fi
|
||||
if [ ! -z "$_commit" ] ;then
|
||||
after_src_dir= # i.e. current tree
|
||||
after_commit="$_commit"
|
||||
echo "Using provided commit [$after_arg => $_commit] as 'after'"
|
||||
else
|
||||
# Local changes in current working directory
|
||||
# ${cur_branch}
|
||||
after_src_dir=$TOP
|
||||
after_commit=
|
||||
echo "Using local changes in $TOP as 'after'"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Identify "before" commit hash, in order of preference
|
||||
if [ ! -z "$before_arg" -a -d "$before_arg" ] ; then
|
||||
# Use provided directory
|
||||
before_src_dir="$before_arg"
|
||||
before_commit=
|
||||
echo "Using provided directory [$before_arg] as 'before'"
|
||||
else
|
||||
_commit=
|
||||
if [ ! -z "$before_arg" ] ; then
|
||||
# Use provided commit hash
|
||||
_commit=$(git rev-parse --verify "$before_arg")
|
||||
fi
|
||||
if [ ! -z "$_commit" ] ;then
|
||||
before_src_dir= # i.e. current tree
|
||||
before_commit="$_commit"
|
||||
echo "Using provided commit [$before_arg => $_commit] as 'before'"
|
||||
else
|
||||
# Use origin/${cur_branch}, if different from ${after_commit}
|
||||
_cur_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
_commit=
|
||||
if [ ! -z "${_cur_branch}" ] ; then
|
||||
_commit=$(git rev-parse --verify "origin/${_cur_branch}")
|
||||
echo "Using origin/${_cur_branch} [$_commit] as 'before'"
|
||||
fi
|
||||
if [ "$_commit" = "${after_commit}" ] ; then
|
||||
_commit=
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -z "$_commit" ] ; then
|
||||
before_src_dir= # i.e. current tree
|
||||
before_commit="$_commit"
|
||||
else
|
||||
# Use previous release
|
||||
before_src_dir= # i.e. current tree
|
||||
before_commit="$(git tag | sort | tail -1)"
|
||||
echo "Using previous release [$before_commit] as 'before'"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
compile_benchmark()
|
||||
{
|
||||
local bname=$1
|
||||
local src_dir="$2"
|
||||
local src_commit="$3"
|
||||
|
||||
local build_dir="${WORK}/$bname/build"
|
||||
local inst_dir="${WORK}/$bname/install"
|
||||
local bench_dir="${WORK}/$bname/bench"
|
||||
|
||||
echo
|
||||
echo "=========== $bname ==========="
|
||||
echo
|
||||
|
||||
mkdir -p "${build_dir}"
|
||||
mkdir -p "${inst_dir}"
|
||||
mkdir -p "${bench_dir}"
|
||||
|
||||
if [ ! -z "$src_commit" ] ; then
|
||||
# Resolve the short hash, tag or branch name to full hash
|
||||
src_commit=$(git rev-parse $src_commit)
|
||||
fi
|
||||
|
||||
# No src dir specified, clone and checkout $src_commit
|
||||
if [ -z "$src_dir" ] ; then
|
||||
src_dir="${WORK}/$bname/src"
|
||||
echo "=== Using sources in $src_dir"
|
||||
mkdir -p "$src_dir"
|
||||
at_commit=$(git --git-dir="$src_dir/.git" rev-parse HEAD 2> /dev/null || true)
|
||||
echo "at_commit: $at_commit"
|
||||
if [ -z "$at_commit" ] ; then
|
||||
# Assume it's an empty dir
|
||||
git clone -n "$TOP" "$src_dir"
|
||||
fi
|
||||
git -C "$src_dir" --git-dir="$src_dir/.git" checkout "$src_commit"
|
||||
fi
|
||||
# else, use the provided $src_dir
|
||||
|
||||
if [ -e "${src_dir}/CMakeLists.txt" ] ; then
|
||||
cd "${build_dir}"
|
||||
cmake -DCMAKE_INSTALL_PREFIX="${inst_dir}" "${src_dir}"
|
||||
else
|
||||
# Old versions of json-c used automake/autoconf
|
||||
cd "${src_dir}"
|
||||
sh autogen.sh # always run it, configure doesn't always work
|
||||
cd "${build_dir}"
|
||||
"${src_dir}/configure" --prefix="${inst_dir}"
|
||||
fi
|
||||
make all install
|
||||
|
||||
cd "${bench_dir}"
|
||||
cmake -DCMAKE_PREFIX_PATH="${inst_dir}" "${TOP}/apps"
|
||||
make all
|
||||
}
|
||||
|
||||
# XXX TODO: name "after" and "before" uniquely using the dir & commit
|
||||
|
||||
if [ $do_all -ne 0 -o $do_build -ne 0 ] ; then
|
||||
sleep 5 # Wait slightly, to allow the human to read the message
|
||||
# about what exactly we're doing to benchmark.
|
||||
compile_benchmark "after" "${after_src_dir}" "${after_commit}"
|
||||
compile_benchmark "before" "${before_src_dir}" "${before_commit}"
|
||||
fi
|
||||
|
||||
run_benchmark()
|
||||
{
|
||||
local bname=$1
|
||||
local inst_dir="${WORK}/$bname/install"
|
||||
local bench_dir="${WORK}/$bname/bench"
|
||||
|
||||
local INPUT=${DATA}/canada.json
|
||||
|
||||
cd "${bench_dir}"
|
||||
mkdir -p results
|
||||
(time ./json_parse -n "${INPUT}") > results/basic_timing.out 2>&1
|
||||
valgrind --tool=massif --massif-out-file=massif.out ./json_parse -n "${INPUT}"
|
||||
ms_print massif.out > results/ms_print.out
|
||||
heaptrack -o heaptrack_out ./json_parse -n "${INPUT}"
|
||||
heaptrack --analyze heaptrack_out.gz -H histogram.out > results/heaptrack.out
|
||||
awk ' { s=$1; count=$2; ru=(int((s+ 15) / 16)) * 16; wasted = ((ru-s)*count); print s, count, ru-s, wasted; total=total+wasted} END { print "Total: ", total }' histogram.out > results/histogram2.out
|
||||
|
||||
# XXX stamp some info about what was built & run into ./results/.
|
||||
|
||||
echo "DONE with $bname"
|
||||
}
|
||||
|
||||
if [ $do_all -ne 0 -o $do_run -ne 0 ] ; then
|
||||
run_benchmark "after"
|
||||
run_benchmark "before"
|
||||
fi
|
||||
|
||||
if [ $do_compare -ne 0 ] ; then
|
||||
# XXX this needs better analysis
|
||||
cd "${WORK}"
|
||||
diff -udr before/bench/results after/bench/results || true
|
||||
else
|
||||
echo "To compare results, run:"
|
||||
echo "$0 --compare"
|
||||
fi
|
||||
|
||||
trap '' EXIT
|
||||
|
||||
:<<=cut
|
||||
|
||||
Benchmarks to run:
|
||||
|
||||
* Parse JSON strings, of various sizes and characteristics
|
||||
* Flags: STRICT vs. non-STRICT, validate UTF8
|
||||
|
||||
* Serialization time
|
||||
* plain, spaces, pretty
|
||||
|
||||
* json_c_visit tests
|
||||
* JSON pointer tests
|
||||
|
||||
Things to record and compare:
|
||||
|
||||
* Running time
|
||||
* Peak memory usage
|
||||
* Useful bytes vs. overhead for memory allocations
|
||||
* Total number of allocations
|
||||
* Average allocation size
|
||||
* Log of all allocation sizes
|
||||
|
||||
=cut
|
||||
|
||||
28
bits.h
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* $Id: bits.h,v 1.10 2006/01/30 23:07:57 mclark Exp $
|
||||
*
|
||||
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
|
||||
* Michael Clark <michael@metaparadigm.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the MIT license. See COPYING for details.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _bits_h_
|
||||
#define _bits_h_
|
||||
|
||||
#ifndef json_min
|
||||
#define json_min(a,b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#ifndef json_max
|
||||
#define json_max(a,b) ((a) > (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#define hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)
|
||||
#define error_ptr(error) ((void*)error)
|
||||
#define error_description(error) (json_tokener_errors[error])
|
||||
#define is_error(ptr) (ptr == NULL)
|
||||
|
||||
#endif
|
||||
100
cmake-configure
Executable file
@@ -0,0 +1,100 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Wrapper around cmake to emulate useful options
|
||||
# from the previous autoconf-based configure script.
|
||||
|
||||
RUNDIR=$(dirname "$0")
|
||||
RUNDIR=$(cd "$RUNDIR" && pwd)
|
||||
CURDIR=$(pwd)
|
||||
|
||||
FLAGS=()
|
||||
|
||||
usage()
|
||||
{
|
||||
exitval="$1"
|
||||
errmsg="$2"
|
||||
|
||||
if [ $exitval -ne 0 ] ; then
|
||||
exec 1>&2
|
||||
fi
|
||||
if [ ! -z "$errmsg" ] ; then
|
||||
echo "ERROR: $errmsg" 1>&2
|
||||
fi
|
||||
cat <<EOF
|
||||
$0 [<configure_options>] [-- [<cmake options>]]
|
||||
--prefix=PREFIX install architecture-independent files in PREFIX
|
||||
--enable-threading Enable code to support partly multi-threaded use
|
||||
--enable-rdrand Enable RDRAND Hardware RNG Hash Seed generation on
|
||||
supported x86/x64 platforms.
|
||||
--enable-shared build shared libraries [default=yes]
|
||||
--enable-static build static libraries [default=yes]
|
||||
--disable-Bsymbolic Avoid linking with -Bsymbolic-function
|
||||
--disable-werror Avoid treating compiler warnings as fatal errors
|
||||
--disable-extra-libs Avoid linking against extra libraries, such as libbsd
|
||||
|
||||
EOF
|
||||
exit
|
||||
}
|
||||
|
||||
if [ "$CURDIR" = "$RUNDIR" ] ; then
|
||||
usage 1 "Please mkdir some other build directory, and run this script from there."
|
||||
fi
|
||||
|
||||
if ! cmake --version ; then
|
||||
usage 1 "Unable to find a working cmake, please be sure you have it installed and on your PATH"
|
||||
fi
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
case "$1" in
|
||||
-h|--help)
|
||||
usage 0
|
||||
;;
|
||||
--prefix)
|
||||
FLAGS+=(-DCMAKE_INSTALL_PREFIX="$2")
|
||||
shift
|
||||
;;
|
||||
--prefix=*)
|
||||
FLAGS+=(-DCMAKE_INSTALL_PREFIX="${1##--prefix=}")
|
||||
;;
|
||||
--enable-threading)
|
||||
FLAGS+=(-DENABLE_THREADING=ON)
|
||||
;;
|
||||
--enable-rdrand)
|
||||
FLAGS+=(-DENABLE_RDRAND=ON)
|
||||
;;
|
||||
--enable-shared)
|
||||
FLAGS+=(-DBUILD_SHARED_LIBS=ON)
|
||||
;;
|
||||
--disable-shared)
|
||||
FLAGS+=(-DBUILD_SHARED_LIBS=OFF)
|
||||
;;
|
||||
--enable-static)
|
||||
FLAGS+=(-DBUILD_STATIC_LIBS=ON)
|
||||
;;
|
||||
--disable-static)
|
||||
FLAGS+=(-DBUILD_STATIC_LIBS=OFF)
|
||||
;;
|
||||
--disable-Bsymbolic)
|
||||
FLAGS+=(-DDISABLE_BSYMBOLIC=ON)
|
||||
;;
|
||||
--disable-werror)
|
||||
FLAGS+=(-DDISABLE_WERROR=ON)
|
||||
;;
|
||||
--disable-extra-libs)
|
||||
FLAGS+=(-DDISABLE_EXTRA_LIBS=ON)
|
||||
;;
|
||||
--)
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-*)
|
||||
usage 1 "Unknown arguments: $*"
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
exec cmake "${FLAGS[@]}" "$@" "${RUNDIR}"
|
||||
4
cmake/Config.cmake.in
Normal file
@@ -0,0 +1,4 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake")
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
231
cmake/config.h.in
Normal file
@@ -0,0 +1,231 @@
|
||||
|
||||
/* Enable RDRAND Hardware RNG Hash Seed */
|
||||
#cmakedefine ENABLE_RDRAND "@ENABLE_RDRAND@"
|
||||
|
||||
/* Override json_c_get_random_seed() with custom code */
|
||||
#cmakedefine OVERRIDE_GET_RANDOM_SEED @OVERRIDE_GET_RANDOM_SEED@
|
||||
|
||||
/* Enable partial threading support */
|
||||
#cmakedefine ENABLE_THREADING "@@"
|
||||
|
||||
/* Define if .gnu.warning accepts long strings. */
|
||||
#cmakedefine HAS_GNU_WARNING_LONG "@@"
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <endian.h> header file. */
|
||||
#cmakedefine HAVE_ENDIAN_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#cmakedefine HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#cmakedefine HAVE_LIMITS_H
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#cmakedefine HAVE_LOCALE_H
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||
#cmakedefine HAVE_STDARG_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <syslog.h> header file. */
|
||||
#cmakedefine HAVE_SYSLOG_H @HAVE_SYSLOG_H@
|
||||
|
||||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||
#cmakedefine HAVE_SYS_CDEFS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@
|
||||
|
||||
/* Define to 1 if you have the <sys/random.h> header file. */
|
||||
#cmakedefine HAVE_SYS_RANDOM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#cmakedefine HAVE_SYS_RESOURCE_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
|
||||
|
||||
/* Define to 1 if you have the <xlocale.h> header file. */
|
||||
#cmakedefine HAVE_XLOCALE_H
|
||||
|
||||
/* Define to 1 if you have the <bsd/stdlib.h> header file. */
|
||||
#cmakedefine HAVE_BSD_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have `arc4random' */
|
||||
#cmakedefine HAVE_ARC4RANDOM
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
#cmakedefine HAVE_DOPRNT
|
||||
|
||||
/* Has atomic builtins */
|
||||
#cmakedefine HAVE_ATOMIC_BUILTINS
|
||||
|
||||
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
|
||||
don't. */
|
||||
#cmakedefine HAVE_DECL_INFINITY
|
||||
|
||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||
*/
|
||||
#cmakedefine HAVE_DECL_ISINF
|
||||
|
||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||
*/
|
||||
#cmakedefine HAVE_DECL_ISNAN
|
||||
|
||||
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
|
||||
#cmakedefine HAVE_DECL_NAN
|
||||
|
||||
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
|
||||
don't. */
|
||||
#cmakedefine HAVE_DECL__FINITE
|
||||
|
||||
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
|
||||
*/
|
||||
#cmakedefine HAVE_DECL__ISNAN
|
||||
|
||||
/* Define to 1 if you have the `open' function. */
|
||||
#cmakedefine HAVE_OPEN
|
||||
|
||||
/* Define to 1 if you have the `realloc' function. */
|
||||
#cmakedefine HAVE_REALLOC
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#cmakedefine HAVE_SETLOCALE
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#cmakedefine HAVE_SNPRINTF
|
||||
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#cmakedefine HAVE_STRCASECMP @HAVE_STRCASECMP@
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#cmakedefine HAVE_STRDUP
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#cmakedefine HAVE_STRERROR
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#cmakedefine HAVE_STRNCASECMP @HAVE_STRNCASECMP@
|
||||
|
||||
/* Define to 1 if you have the `uselocale' function. */
|
||||
#cmakedefine HAVE_USELOCALE
|
||||
|
||||
/* Define to 1 if newlocale() needs freelocale() called on it's `base` argument */
|
||||
#cmakedefine NEWLOCALE_NEEDS_FREELOCALE
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#cmakedefine HAVE_VASPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#cmakedefine HAVE_VPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#cmakedefine HAVE_VSNPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vsyslog' function. */
|
||||
#cmakedefine HAVE_VSYSLOG @HAVE_VSYSLOG@
|
||||
|
||||
/* Define if you have the `getrandom' function. */
|
||||
#cmakedefine HAVE_GETRANDOM
|
||||
|
||||
/* Define if you have the `getrusage' function. */
|
||||
#cmakedefine HAVE_GETRUSAGE
|
||||
|
||||
#cmakedefine HAVE_STRTOLL
|
||||
#if !defined(HAVE_STRTOLL)
|
||||
#define strtoll @json_c_strtoll@
|
||||
/* #cmakedefine json_c_strtoll @json_c_strtoll@*/
|
||||
#endif
|
||||
|
||||
#cmakedefine HAVE_STRTOULL
|
||||
#if !defined(HAVE_STRTOULL)
|
||||
#define strtoull @json_c_strtoull@
|
||||
/* #cmakedefine json_c_strtoull @json_c_strtoull@ */
|
||||
#endif
|
||||
|
||||
/* Have __thread */
|
||||
#cmakedefine HAVE___THREAD
|
||||
|
||||
/* Public define for json_inttypes.h */
|
||||
#cmakedefine JSON_C_HAVE_INTTYPES_H @JSON_C_HAVE_INTTYPES_H@
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "@PROJECT_NAME@"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "@JSON_C_BUGREPORT@"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "@PROJECT_NAME@"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "@PROJECT_NAME@ @CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "@PROJECT_NAME@"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL "https://github.com/json-c/json-c"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@"
|
||||
|
||||
/* The number of bytes in type int */
|
||||
#cmakedefine SIZEOF_INT @SIZEOF_INT@
|
||||
|
||||
/* The number of bytes in type int64_t */
|
||||
#cmakedefine SIZEOF_INT64_T @SIZEOF_INT64_T@
|
||||
|
||||
/* The number of bytes in type long */
|
||||
#cmakedefine SIZEOF_LONG @SIZEOF_LONG@
|
||||
|
||||
/* The number of bytes in type long long */
|
||||
#cmakedefine SIZEOF_LONG_LONG @SIZEOF_LONG_LONG@
|
||||
|
||||
/* The number of bytes in type size_t */
|
||||
#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
|
||||
|
||||
/* The number of bytes in type ssize_t */
|
||||
#cmakedefine SIZEOF_SSIZE_T @SIZEOF_SSIZE_T@
|
||||
|
||||
/* Specifier for __thread */
|
||||
#cmakedefine SPEC___THREAD @SPEC___THREAD@
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@"
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#cmakedefine const
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#cmakedefine size_t
|
||||
5
cmake/json_config.h.in
Normal file
@@ -0,0 +1,5 @@
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine JSON_C_HAVE_INTTYPES_H @JSON_C_HAVE_INTTYPES_H@
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine JSON_C_HAVE_STDINT_H @JSON_C_HAVE_STDINT_H@
|
||||
174
config.h.in
@@ -1,174 +0,0 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Enable RDRANR Hardware RNG Hash Seed */
|
||||
#undef ENABLE_RDRAND
|
||||
|
||||
/* Define if .gnu.warning accepts long strings. */
|
||||
#undef HAS_GNU_WARNING_LONG
|
||||
|
||||
/* Define to 1 if you have the declaration of `INFINITY', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL_INFINITY
|
||||
|
||||
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||
*/
|
||||
#undef HAVE_DECL_ISINF
|
||||
|
||||
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||
*/
|
||||
#undef HAVE_DECL_ISNAN
|
||||
|
||||
/* Define to 1 if you have the declaration of `nan', and to 0 if you don't. */
|
||||
#undef HAVE_DECL_NAN
|
||||
|
||||
/* Define to 1 if you have the declaration of `_finite', and to 0 if you
|
||||
don't. */
|
||||
#undef HAVE_DECL__FINITE
|
||||
|
||||
/* Define to 1 if you have the declaration of `_isnan', and to 0 if you don't.
|
||||
*/
|
||||
#undef HAVE_DECL__ISNAN
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
#undef HAVE_DOPRNT
|
||||
|
||||
/* Define to 1 if you have the <endian.h> header file. */
|
||||
#undef HAVE_ENDIAN_H
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
/* Define to 1 if you have the <locale.h> header file. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#undef HAVE_MALLOC
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `open' function. */
|
||||
#undef HAVE_OPEN
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#undef HAVE_REALLOC
|
||||
|
||||
/* Define to 1 if you have the `setlocale' function. */
|
||||
#undef HAVE_SETLOCALE
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#undef HAVE_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||
#undef HAVE_STDARG_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#undef HAVE_STRCASECMP
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#undef HAVE_STRDUP
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#undef HAVE_STRNCASECMP
|
||||
|
||||
/* Define to 1 if you have the <syslog.h> header file. */
|
||||
#undef HAVE_SYSLOG_H
|
||||
|
||||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||
#undef HAVE_SYS_CDEFS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#undef HAVE_VASPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#undef HAVE_VPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vsyslog' function. */
|
||||
#undef HAVE_VSYSLOG
|
||||
|
||||
/* Public define for json_inttypes.h */
|
||||
#undef JSON_C_HAVE_INTTYPES_H
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
#undef malloc
|
||||
|
||||
/* Define to rpl_realloc if the replacement function should be used. */
|
||||
#undef realloc
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
@@ -1,94 +0,0 @@
|
||||
/*
|
||||
* $Id: config.h.win32,v 1.2 2006/01/26 02:16:28 mclark Exp $
|
||||
*
|
||||
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
|
||||
* Michael Clark <michael@metaparadigm.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the MIT license. See COPYING for details.
|
||||
*
|
||||
*/
|
||||
|
||||
/* config.h.win32 Generated by configure. */
|
||||
|
||||
#define PACKAGE_STRING "JSON C Library 0.2"
|
||||
#define PACKAGE_BUGREPORT "json-c@googlegroups.com"
|
||||
#define PACKAGE_NAME "JSON C Library"
|
||||
#define PACKAGE_TARNAME "json-c"
|
||||
#define PACKAGE_VERSION "0.2"
|
||||
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||
/* #undef HAVE_DOPRNT */
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#define HAVE_MALLOC 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `open' function. */
|
||||
#undef HAVE_OPEN
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
|
||||
and to 0 otherwise. */
|
||||
#define HAVE_REALLOC 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#undef HAVE_STRNDUP
|
||||
|
||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <syslog.h> header file. */
|
||||
#undef HAVE_SYSLOG_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#undef HAVE_VPRINTF
|
||||
|
||||
/* Define to 1 if you have the `vsyslog' function. */
|
||||
#undef HAVE_VSYSLOG
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#undef HAVE_STRNCASECMP
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
107
configure.ac
@@ -1,107 +0,0 @@
|
||||
AC_PREREQ(2.52)
|
||||
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
AC_INIT([json-c], 0.11.99, [json-c@googlegroups.com])
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
AC_ARG_ENABLE(rdrand,
|
||||
AS_HELP_STRING([--enable-rdrand],
|
||||
[Enable RDRAND Hardware RNG Hash Seed generation on supported x86/x64 platforms.]),
|
||||
[if test x$enableval = xyes; then
|
||||
enable_rdrand=yes
|
||||
AC_DEFINE(ENABLE_RDRAND, 1, [Enable RDRANR Hardware RNG Hash Seed])
|
||||
fi])
|
||||
|
||||
if test "x$enable_rdrand" = "xyes"; then
|
||||
AC_MSG_RESULT([RDRAND Hardware RNG Hash Seed enabled on supported x86/x64 platforms])
|
||||
else
|
||||
AC_MSG_RESULT([RDRAND Hardware RNG Hash Seed disabled. Use --enable-rdrand to enable])
|
||||
fi
|
||||
|
||||
# Checks for programs.
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
# Checks for header files.
|
||||
AM_PROG_CC_C_O
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
AC_CONFIG_HEADER(json_config.h)
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/cdefs.h] [sys/param.h] stdarg.h locale.h endian.h)
|
||||
AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_VPRINTF
|
||||
AC_FUNC_MEMCMP
|
||||
AC_FUNC_MALLOC
|
||||
AC_FUNC_REALLOC
|
||||
AC_CHECK_FUNCS(strcasecmp strdup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp setlocale)
|
||||
AC_CHECK_DECLS([INFINITY], [], [], [[#include <math.h>]])
|
||||
AC_CHECK_DECLS([nan], [], [], [[#include <math.h>]])
|
||||
AC_CHECK_DECLS([isnan], [], [], [[#include <math.h>]])
|
||||
AC_CHECK_DECLS([isinf], [], [], [[#include <math.h>]])
|
||||
AC_CHECK_DECLS([_isnan], [], [], [[#include <float.h>]])
|
||||
AC_CHECK_DECLS([_finite], [], [], [[#include <float.h>]])
|
||||
|
||||
#check if .section.gnu.warning accepts long strings (for __warn_references)
|
||||
AC_LANG_PUSH([C])
|
||||
|
||||
AC_MSG_CHECKING([if .gnu.warning accepts long strings])
|
||||
AC_LINK_IFELSE([AC_LANG_SOURCE([[
|
||||
extern void json_object_get();
|
||||
__asm__(".section .gnu.json_object_get,\n\t.ascii \"Please link against libjson-c instead of libjson\"\n\t.text");
|
||||
|
||||
int main(int c,char* v) {return 0;}
|
||||
]])], [
|
||||
AC_DEFINE(HAS_GNU_WARNING_LONG, 1, [Define if .gnu.warning accepts long strings.])
|
||||
AC_MSG_RESULT(yes)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
AC_LANG_POP([C])
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
# Check for the -Bsymbolic-functions linker flag
|
||||
AC_ARG_ENABLE([Bsymbolic],
|
||||
[AS_HELP_STRING([--disable-Bsymbolic], [Avoid linking with -Bsymbolic-function])],
|
||||
[],
|
||||
[enable_Bsymbolic=check])
|
||||
|
||||
AS_IF([test "x$enable_Bsymbolic" = "xcheck"],
|
||||
[
|
||||
saved_LDFLAGS="${LDFLAGS}"
|
||||
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
|
||||
LDFLAGS=-Wl,-Bsymbolic-functions
|
||||
AC_TRY_LINK([], [int main (void) { return 0; }],
|
||||
[
|
||||
AC_MSG_RESULT([yes])
|
||||
enable_Bsymbolic=yes
|
||||
],
|
||||
[
|
||||
AC_MSG_RESULT([no])
|
||||
enable_Bsymbolic=no
|
||||
])
|
||||
LDFLAGS="${saved_LDFLAGS}"
|
||||
])
|
||||
|
||||
AS_IF([test "x$enable_Bsymbolic" = "xyes"], [JSON_BSYMBOLIC_LDFLAGS=-Wl[,]-Bsymbolic-functions])
|
||||
AC_SUBST(JSON_BSYMBOLIC_LDFLAGS)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
json-c.pc
|
||||
tests/Makefile
|
||||
json-c-uninstalled.pc
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
63
debug.c
@@ -11,17 +11,17 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if HAVE_SYSLOG_H
|
||||
# include <syslog.h>
|
||||
#include <syslog.h>
|
||||
#endif /* HAVE_SYSLOG_H */
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#include <unistd.h>
|
||||
#endif /* HAVE_UNISTD_H */
|
||||
|
||||
#if HAVE_SYS_PARAM_H
|
||||
@@ -33,51 +33,64 @@
|
||||
static int _syslog = 0;
|
||||
static int _debug = 0;
|
||||
|
||||
void mc_set_debug(int debug) { _debug = debug; }
|
||||
int mc_get_debug(void) { return _debug; }
|
||||
void mc_set_debug(int debug)
|
||||
{
|
||||
_debug = debug;
|
||||
}
|
||||
int mc_get_debug(void)
|
||||
{
|
||||
return _debug;
|
||||
}
|
||||
|
||||
extern void mc_set_syslog(int syslog)
|
||||
{
|
||||
_syslog = syslog;
|
||||
_syslog = syslog;
|
||||
}
|
||||
|
||||
void mc_debug(const char *msg, ...)
|
||||
{
|
||||
va_list ap;
|
||||
if(_debug) {
|
||||
va_start(ap, msg);
|
||||
va_list ap;
|
||||
if (_debug)
|
||||
{
|
||||
va_start(ap, msg);
|
||||
#if HAVE_VSYSLOG
|
||||
if(_syslog) {
|
||||
vsyslog(LOG_DEBUG, msg, ap);
|
||||
} else
|
||||
if (_syslog)
|
||||
{
|
||||
vsyslog(LOG_DEBUG, msg, ap);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
vprintf(msg, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
vprintf(msg, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
||||
void mc_error(const char *msg, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, msg);
|
||||
va_list ap;
|
||||
va_start(ap, msg);
|
||||
#if HAVE_VSYSLOG
|
||||
if(_syslog) {
|
||||
if (_syslog)
|
||||
{
|
||||
vsyslog(LOG_ERR, msg, ap);
|
||||
} else
|
||||
}
|
||||
else
|
||||
#endif
|
||||
vfprintf(stderr, msg, ap);
|
||||
va_end(ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void mc_info(const char *msg, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, msg);
|
||||
va_list ap;
|
||||
va_start(ap, msg);
|
||||
#if HAVE_VSYSLOG
|
||||
if(_syslog) {
|
||||
if (_syslog)
|
||||
{
|
||||
vsyslog(LOG_INFO, msg, ap);
|
||||
} else
|
||||
}
|
||||
else
|
||||
#endif
|
||||
vfprintf(stderr, msg, ap);
|
||||
va_end(ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
67
debug.h
@@ -10,8 +10,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _DEBUG_H_
|
||||
#define _DEBUG_H_
|
||||
/**
|
||||
* @file
|
||||
* @brief Do not use, json-c internal, may be changed or removed at any time.
|
||||
*/
|
||||
#ifndef _JSON_C_DEBUG_H_
|
||||
#define _JSON_C_DEBUG_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -19,14 +23,22 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void mc_set_debug(int debug);
|
||||
extern int mc_get_debug(void);
|
||||
#ifndef JSON_EXPORT
|
||||
#if defined(_MSC_VER) && defined(JSON_C_DLL)
|
||||
#define JSON_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define JSON_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern void mc_set_syslog(int syslog);
|
||||
JSON_EXPORT void mc_set_debug(int debug);
|
||||
JSON_EXPORT int mc_get_debug(void);
|
||||
|
||||
extern void mc_debug(const char *msg, ...);
|
||||
extern void mc_error(const char *msg, ...);
|
||||
extern void mc_info(const char *msg, ...);
|
||||
JSON_EXPORT void mc_set_syslog(int syslog);
|
||||
|
||||
JSON_EXPORT void mc_debug(const char *msg, ...);
|
||||
JSON_EXPORT void mc_error(const char *msg, ...);
|
||||
JSON_EXPORT void mc_info(const char *msg, ...);
|
||||
|
||||
#ifndef __STRING
|
||||
#define __STRING(x) #x
|
||||
@@ -34,17 +46,24 @@ extern void mc_info(const char *msg, ...);
|
||||
|
||||
#ifndef PARSER_BROKEN_FIXED
|
||||
|
||||
#define JASSERT(cond) do {} while(0)
|
||||
#define JASSERT(cond) \
|
||||
do \
|
||||
{ \
|
||||
} while (0)
|
||||
|
||||
#else
|
||||
|
||||
#define JASSERT(cond) do { \
|
||||
if (!(cond)) { \
|
||||
mc_error("cjson assert failure %s:%d : cond \"" __STRING(cond) "failed\n", __FILE__, __LINE__); \
|
||||
*(int *)0 = 1;\
|
||||
abort(); \
|
||||
}\
|
||||
} while(0)
|
||||
#define JASSERT(cond) \
|
||||
do \
|
||||
{ \
|
||||
if (!(cond)) \
|
||||
{ \
|
||||
mc_error("cjson assert failure %s:%d : cond \"" __STRING(cond) "failed\n", \
|
||||
__FILE__, __LINE__); \
|
||||
*(int *)0 = 1; \
|
||||
abort(); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -57,11 +76,19 @@ extern void mc_info(const char *msg, ...);
|
||||
#define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__)
|
||||
#define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__)
|
||||
#else
|
||||
#define MC_SET_DEBUG(x) if (0) mc_set_debug(x)
|
||||
#define MC_SET_DEBUG(x) \
|
||||
if (0) \
|
||||
mc_set_debug(x)
|
||||
#define MC_GET_DEBUG() (0)
|
||||
#define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x)
|
||||
#define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__)
|
||||
#define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__)
|
||||
#define MC_SET_SYSLOG(x) \
|
||||
if (0) \
|
||||
mc_set_syslog(x)
|
||||
#define MC_DEBUG(x, ...) \
|
||||
if (0) \
|
||||
mc_debug(x, ##__VA_ARGS__)
|
||||
#define MC_INFO(x, ...) \
|
||||
if (0) \
|
||||
mc_info(x, ##__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
16
doc/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
# generate doxygen documentation for json-c API
|
||||
|
||||
find_package(Doxygen)
|
||||
|
||||
if (DOXYGEN_FOUND)
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||
message(STATUS "Wrote ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")
|
||||
|
||||
add_custom_target(doc
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||
|
||||
else (DOXYGEN_FOUND)
|
||||
message("Warning: doxygen not found, the 'doc' target will not be included")
|
||||
endif(DOXYGEN_FOUND)
|
||||
2366
doc/Doxyfile.in
Normal file
6
doc/fixup_markdown.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Doxygen markdown doesn't support triple-backticks like github does.
|
||||
# Convert all of those to space-prefixed blocks instead.
|
||||
#
|
||||
awk '/```/ { prefix=!prefix; print ""; next; } { if (prefix) { printf " "; } print $0; } ' "$@"
|
||||
51
doc/html/README_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: README.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">README.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
65
doc/html/annotated.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Data Structures</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">Data Structures</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here are the data structures with brief descriptions:</div><div class="directory">
|
||||
<table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structarray__list.html" target="_self">array_list</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjson__object__iter.html" target="_self">json_object_iter</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjson__object__iterator.html" target="_self">json_object_iterator</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjson__patch__error.html" target="_self">json_patch_error</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjson__pointer__get__result.html" target="_self">json_pointer_get_result</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjson__tokener.html" target="_self">json_tokener</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjson__tokener__srec.html" target="_self">json_tokener_srec</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structlh__entry.html" target="_self">lh_entry</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structlh__table.html" target="_self">lh_table</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structprintbuf.html" target="_self">printbuf</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
489
doc/html/arraylist_8h.html
Normal file
@@ -0,0 +1,489 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: arraylist.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Data Structures</a> |
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#typedef-members">Typedefs</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">arraylist.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a9e02b6193aea79f3d70c451b5af972dc">json_object_get_array()</a> method, it is not recommended for direct use.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Data Structures</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarray__list.html">array_list</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:acd30d910b398421574eb1f59e78617f5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">ARRAY_LIST_DEFAULT_SIZE</a>   32</td></tr>
|
||||
<tr class="separator:acd30d910b398421574eb1f59e78617f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:a90d2ce204a483fa38f5514bad67222aa"><td class="memItemLeft" align="right" valign="top">typedef void() </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">array_list_free_fn</a>(void *data)</td></tr>
|
||||
<tr class="separator:a90d2ce204a483fa38f5514bad67222aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d6d32d8b026ea2025df519b9e90f44a"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structarray__list.html">array_list</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">array_list</a></td></tr>
|
||||
<tr class="separator:a6d6d32d8b026ea2025df519b9e90f44a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae27da2357b36a98a0078c24e502ce34a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structarray__list.html">array_list</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ae27da2357b36a98a0078c24e502ce34a">array_list_new</a> (<a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">array_list_free_fn</a> *free_fn)</td></tr>
|
||||
<tr class="separator:ae27da2357b36a98a0078c24e502ce34a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a51973b4fe38d4d287ab451481af169fa"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structarray__list.html">array_list</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a51973b4fe38d4d287ab451481af169fa">array_list_new2</a> (<a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">array_list_free_fn</a> *free_fn, int initial_size)</td></tr>
|
||||
<tr class="separator:a51973b4fe38d4d287ab451481af169fa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acd00fb70f7ca82f23b48b812c3498f67"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">array_list_free</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al)</td></tr>
|
||||
<tr class="separator:acd00fb70f7ca82f23b48b812c3498f67"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad5403923c175ea8051211b551cbe2126"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ad5403923c175ea8051211b551cbe2126">array_list_get_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i)</td></tr>
|
||||
<tr class="separator:ad5403923c175ea8051211b551cbe2126"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad6f20316519b3dafec557368ee5c6cf3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ad6f20316519b3dafec557368ee5c6cf3">array_list_insert_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i, void *data)</td></tr>
|
||||
<tr class="separator:ad6f20316519b3dafec557368ee5c6cf3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9f92076e9d8229f8a07e536dc286f811"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">array_list_put_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, size_t i, void *data)</td></tr>
|
||||
<tr class="separator:a9f92076e9d8229f8a07e536dc286f811"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6e995608aa464244ff3184fb43574dc8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">array_list_add</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al, void *data)</td></tr>
|
||||
<tr class="separator:a6e995608aa464244ff3184fb43574dc8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa3bf90f47aa210032304b14e7ad09ef7"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">array_list_length</a> (struct <a class="el" href="structarray__list.html">array_list</a> *al)</td></tr>
|
||||
<tr class="separator:aa3bf90f47aa210032304b14e7ad09ef7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afb67cc8e2e5c9be41c3e644536079169"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">array_list_sort</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, int(*compar)(const void *, const void *))</td></tr>
|
||||
<tr class="separator:afb67cc8e2e5c9be41c3e644536079169"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab5d92e8649d05bc7baf73fedc90ae735"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#ab5d92e8649d05bc7baf73fedc90ae735">array_list_bsearch</a> (const void **key, struct <a class="el" href="structarray__list.html">array_list</a> *arr, int(*compar)(const void *, const void *))</td></tr>
|
||||
<tr class="separator:ab5d92e8649d05bc7baf73fedc90ae735"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aecedd8601ee96e2fd8eff5d83fda89ab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">array_list_del_idx</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, size_t idx, size_t count)</td></tr>
|
||||
<tr class="separator:aecedd8601ee96e2fd8eff5d83fda89ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aff21b2a00573f8f0085b81ce1de1a850"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">array_list_shrink</a> (struct <a class="el" href="structarray__list.html">array_list</a> *arr, size_t empty_slots)</td></tr>
|
||||
<tr class="separator:aff21b2a00573f8f0085b81ce1de1a850"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a9e02b6193aea79f3d70c451b5af972dc">json_object_get_array()</a> method, it is not recommended for direct use. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="acd30d910b398421574eb1f59e78617f5" name="acd30d910b398421574eb1f59e78617f5"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#acd30d910b398421574eb1f59e78617f5">◆ </a></span>ARRAY_LIST_DEFAULT_SIZE</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define ARRAY_LIST_DEFAULT_SIZE   32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a6d6d32d8b026ea2025df519b9e90f44a" name="a6d6d32d8b026ea2025df519b9e90f44a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6d6d32d8b026ea2025df519b9e90f44a">◆ </a></span>array_list</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef struct <a class="el" href="structarray__list.html">array_list</a> <a class="el" href="structarray__list.html">array_list</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a90d2ce204a483fa38f5514bad67222aa" name="a90d2ce204a483fa38f5514bad67222aa"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a90d2ce204a483fa38f5514bad67222aa">◆ </a></span>array_list_free_fn</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef void() array_list_free_fn(void *data)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a6e995608aa464244ff3184fb43574dc8" name="a6e995608aa464244ff3184fb43574dc8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6e995608aa464244ff3184fb43574dc8">◆ </a></span>array_list_add()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int array_list_add </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>al</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"><em>data</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab5d92e8649d05bc7baf73fedc90ae735" name="ab5d92e8649d05bc7baf73fedc90ae735"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab5d92e8649d05bc7baf73fedc90ae735">◆ </a></span>array_list_bsearch()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void * array_list_bsearch </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const void ** </td>
|
||||
<td class="paramname"><em>key</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>arr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int(*)(const void *, const void *) </td>
|
||||
<td class="paramname"><em>compar</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aecedd8601ee96e2fd8eff5d83fda89ab" name="aecedd8601ee96e2fd8eff5d83fda89ab"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aecedd8601ee96e2fd8eff5d83fda89ab">◆ </a></span>array_list_del_idx()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int array_list_del_idx </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>arr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">size_t </td>
|
||||
<td class="paramname"><em>idx</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">size_t </td>
|
||||
<td class="paramname"><em>count</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="acd00fb70f7ca82f23b48b812c3498f67" name="acd00fb70f7ca82f23b48b812c3498f67"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#acd00fb70f7ca82f23b48b812c3498f67">◆ </a></span>array_list_free()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void array_list_free </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>al</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad5403923c175ea8051211b551cbe2126" name="ad5403923c175ea8051211b551cbe2126"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad5403923c175ea8051211b551cbe2126">◆ </a></span>array_list_get_idx()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void * array_list_get_idx </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>al</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">size_t </td>
|
||||
<td class="paramname"><em>i</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad6f20316519b3dafec557368ee5c6cf3" name="ad6f20316519b3dafec557368ee5c6cf3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad6f20316519b3dafec557368ee5c6cf3">◆ </a></span>array_list_insert_idx()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int array_list_insert_idx </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>al</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">size_t </td>
|
||||
<td class="paramname"><em>i</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"><em>data</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aa3bf90f47aa210032304b14e7ad09ef7" name="aa3bf90f47aa210032304b14e7ad09ef7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa3bf90f47aa210032304b14e7ad09ef7">◆ </a></span>array_list_length()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">size_t array_list_length </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>al</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae27da2357b36a98a0078c24e502ce34a" name="ae27da2357b36a98a0078c24e502ce34a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae27da2357b36a98a0078c24e502ce34a">◆ </a></span>array_list_new()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct <a class="el" href="structarray__list.html">array_list</a> * array_list_new </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">array_list_free_fn</a> * </td>
|
||||
<td class="paramname"><em>free_fn</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Allocate an <a class="el" href="structarray__list.html">array_list</a> of the default size (32). </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Use <a class="el" href="arraylist_8h.html#a51973b4fe38d4d287ab451481af169fa">array_list_new2()</a> instead. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a51973b4fe38d4d287ab451481af169fa" name="a51973b4fe38d4d287ab451481af169fa"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a51973b4fe38d4d287ab451481af169fa">◆ </a></span>array_list_new2()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">struct <a class="el" href="structarray__list.html">array_list</a> * array_list_new2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">array_list_free_fn</a> * </td>
|
||||
<td class="paramname"><em>free_fn</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>initial_size</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Allocate an <a class="el" href="structarray__list.html">array_list</a> of the desired size.</p>
|
||||
<p >If possible, the size should be chosen to closely match the actual number of elements expected to be used. If the exact size is unknown, there are tradeoffs to be made:</p><ul>
|
||||
<li>too small - the <a class="el" href="structarray__list.html">array_list</a> code will need to call realloc() more often (which might incur an additional memory copy).</li>
|
||||
<li>too large - will waste memory, but that can be mitigated by calling <a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">array_list_shrink()</a> once the final size is known.</li>
|
||||
</ul>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">array_list_shrink</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9f92076e9d8229f8a07e536dc286f811" name="a9f92076e9d8229f8a07e536dc286f811"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9f92076e9d8229f8a07e536dc286f811">◆ </a></span>array_list_put_idx()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int array_list_put_idx </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>al</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">size_t </td>
|
||||
<td class="paramname"><em>i</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"><em>data</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aff21b2a00573f8f0085b81ce1de1a850" name="aff21b2a00573f8f0085b81ce1de1a850"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aff21b2a00573f8f0085b81ce1de1a850">◆ </a></span>array_list_shrink()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int array_list_shrink </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>arr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">size_t </td>
|
||||
<td class="paramname"><em>empty_slots</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Shrink the array list to just enough to fit the number of elements in it, plus empty_slots. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="afb67cc8e2e5c9be41c3e644536079169" name="afb67cc8e2e5c9be41c3e644536079169"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afb67cc8e2e5c9be41c3e644536079169">◆ </a></span>array_list_sort()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void array_list_sort </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structarray__list.html">array_list</a> * </td>
|
||||
<td class="paramname"><em>arr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int(*)(const void *, const void *) </td>
|
||||
<td class="paramname"><em>compar</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
BIN
doc/html/bc_s.png
Normal file
|
After Width: | Height: | Size: 676 B |
BIN
doc/html/bdwn.png
Normal file
|
After Width: | Height: | Size: 147 B |
66
doc/html/classes.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Data Structure Index</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">Data Structure Index</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_J">J</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_P">P</a></div>
|
||||
<div class="classindex">
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a id="letter_A" name="letter_A">A</a></dt>
|
||||
<dd><a class="el" href="structarray__list.html">array_list</a></dd></dl>
|
||||
<dl class="classindex odd">
|
||||
<dt class="alphachar"><a id="letter_J" name="letter_J">J</a></dt>
|
||||
<dd><a class="el" href="structjson__object__iter.html">json_object_iter</a></dd><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a></dd><dd><a class="el" href="structjson__patch__error.html">json_patch_error</a></dd><dd><a class="el" href="structjson__pointer__get__result.html">json_pointer_get_result</a></dd><dd><a class="el" href="structjson__tokener.html">json_tokener</a></dd><dd><a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a></dd></dl>
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a id="letter_L" name="letter_L">L</a></dt>
|
||||
<dd><a class="el" href="structlh__entry.html">lh_entry</a></dd><dd><a class="el" href="structlh__table.html">lh_table</a></dd></dl>
|
||||
<dl class="classindex odd">
|
||||
<dt class="alphachar"><a id="letter_P" name="letter_P">P</a></dt>
|
||||
<dd><a class="el" href="structprintbuf.html">printbuf</a></dd></dl>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
BIN
doc/html/closed.png
Normal file
|
After Width: | Height: | Size: 132 B |
96
doc/html/deprecated.html
Normal file
@@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Deprecated List</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">Deprecated List </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><dl class="reflist">
|
||||
<dt>Global <a class="el" href="arraylist_8h.html#ae27da2357b36a98a0078c24e502ce34a">array_list_new</a> (array_list_free_fn *free_fn)</dt>
|
||||
<dd><a class="anchor" id="_deprecated000001"></a>Use <a class="el" href="arraylist_8h.html#a51973b4fe38d4d287ab451481af169fa">array_list_new2()</a> instead. </dd>
|
||||
<dt>Global <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_parse_double</a> (const char *buf, double *retval)</dt>
|
||||
<dd><a class="anchor" id="_deprecated000008"></a> </dd>
|
||||
<dt>Global <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000004"></a>Unused in json-c code </dd>
|
||||
<dt>Global <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener::char_offset</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000006"></a>See <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> instead. </dd>
|
||||
<dt>Global <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener::err</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000007"></a>See <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> instead. </dd>
|
||||
<dt>Global <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener::str</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000005"></a>Do not access any of these fields outside of json_tokener.c </dd>
|
||||
<dt>Class <a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000003"></a>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd>
|
||||
<dt>Global <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000002"></a>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd>
|
||||
<dt>Global <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry::k</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000011"></a>Use <a class="el" href="linkhash_8h.html#a1ccddba74d3be7588e11333eda1f20ac">lh_entry_k()</a> instead of accessing this directly. </dd>
|
||||
<dt>Global <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry::k_is_constant</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000012"></a>use <a class="el" href="linkhash_8h.html#a724c308f1c606271ea3deb01ed9e3cc9">lh_entry_k_is_constant()</a> instead. </dd>
|
||||
<dt>Global <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry::next</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000014"></a>Use <a class="el" href="linkhash_8h.html#a3b14a53ba9926b219190105f14d751b0">lh_entry_next()</a> instead of accessing this directly. </dd>
|
||||
<dt>Global <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry::prev</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000015"></a>Use <a class="el" href="linkhash_8h.html#a51bb82fec8a605cc219f11890e837ef1">lh_entry_prev()</a> instead of accessing this directly. </dd>
|
||||
<dt>Global <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry::v</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000013"></a>Use <a class="el" href="linkhash_8h.html#abbbcaaaad12ca6bcaebe2cd1437f17a0">lh_entry_v()</a> instead of accessing this directly. </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table::count</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000017"></a>Use <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">lh_table_length()</a> instead. </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table::equal_fn</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000023"></a>do not use outside of linkhash.c </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table::free_fn</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000021"></a>do not use outside of linkhash.c </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table::hash_fn</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000022"></a>do not use outside of linkhash.c </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table::head</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000018"></a>Use <a class="el" href="linkhash_8h.html#a37bd2f8ccaea39278a13b6eaada657d7">lh_table_head()</a> instead. </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table::size</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000016"></a>do not use outside of linkhash.c </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table::table</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000020"></a>do not use outside of linkhash.c </dd>
|
||||
<dt>Global <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table::tail</a> </dt>
|
||||
<dd><a class="anchor" id="_deprecated000019"></a>Do not use, may be removed in a future release. </dd>
|
||||
</dl>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
62
doc/html/dir_b62156a74b5a818be0c2ef9f85294b95.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: /home/erh/distcheck Directory Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_b62156a74b5a818be0c2ef9f85294b95.html">distcheck</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">distcheck Directory Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="files" name="files"></a>
|
||||
Files</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="json_8h.html">json.h</a></td></tr>
|
||||
<tr class="memdesc:json_8h"><td class="mdescLeft"> </td><td class="mdescRight">A convenience header that may be included instead of other individual ones. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
BIN
doc/html/doc.png
Normal file
|
After Width: | Height: | Size: 746 B |
1841
doc/html/doxygen.css
Normal file
26
doc/html/doxygen.svg
Normal file
|
After Width: | Height: | Size: 15 KiB |
121
doc/html/dynsections.js
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
function toggleVisibility(linkObj)
|
||||
{
|
||||
var base = $(linkObj).attr('id');
|
||||
var summary = $('#'+base+'-summary');
|
||||
var content = $('#'+base+'-content');
|
||||
var trigger = $('#'+base+'-trigger');
|
||||
var src=$(trigger).attr('src');
|
||||
if (content.is(':visible')===true) {
|
||||
content.hide();
|
||||
summary.show();
|
||||
$(linkObj).addClass('closed').removeClass('opened');
|
||||
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||
} else {
|
||||
content.show();
|
||||
summary.hide();
|
||||
$(linkObj).removeClass('closed').addClass('opened');
|
||||
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function updateStripes()
|
||||
{
|
||||
$('table.directory tr').
|
||||
removeClass('even').filter(':visible:even').addClass('even');
|
||||
}
|
||||
|
||||
function toggleLevel(level)
|
||||
{
|
||||
$('table.directory tr').each(function() {
|
||||
var l = this.id.split('_').length-1;
|
||||
var i = $('#img'+this.id.substring(3));
|
||||
var a = $('#arr'+this.id.substring(3));
|
||||
if (l<level+1) {
|
||||
i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
|
||||
a.html('▼');
|
||||
$(this).show();
|
||||
} else if (l==level+1) {
|
||||
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
|
||||
a.html('►');
|
||||
$(this).show();
|
||||
} else {
|
||||
$(this).hide();
|
||||
}
|
||||
});
|
||||
updateStripes();
|
||||
}
|
||||
|
||||
function toggleFolder(id)
|
||||
{
|
||||
// the clicked row
|
||||
var currentRow = $('#row_'+id);
|
||||
|
||||
// all rows after the clicked row
|
||||
var rows = currentRow.nextAll("tr");
|
||||
|
||||
var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
|
||||
|
||||
// only match elements AFTER this one (can't hide elements before)
|
||||
var childRows = rows.filter(function() { return this.id.match(re); });
|
||||
|
||||
// first row is visible we are HIDING
|
||||
if (childRows.filter(':first').is(':visible')===true) {
|
||||
// replace down arrow by right arrow for current row
|
||||
var currentRowSpans = currentRow.find("span");
|
||||
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||
currentRowSpans.filter(".arrow").html('►');
|
||||
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
|
||||
} else { // we are SHOWING
|
||||
// replace right arrow by down arrow for current row
|
||||
var currentRowSpans = currentRow.find("span");
|
||||
currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
|
||||
currentRowSpans.filter(".arrow").html('▼');
|
||||
// replace down arrows by right arrows for child rows
|
||||
var childRowsSpans = childRows.find("span");
|
||||
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||
childRowsSpans.filter(".arrow").html('►');
|
||||
childRows.show(); //show all children
|
||||
}
|
||||
updateStripes();
|
||||
}
|
||||
|
||||
|
||||
function toggleInherit(id)
|
||||
{
|
||||
var rows = $('tr.inherit.'+id);
|
||||
var img = $('tr.inherit_header.'+id+' img');
|
||||
var src = $(img).attr('src');
|
||||
if (rows.filter(':first').is(':visible')===true) {
|
||||
rows.css('display','none');
|
||||
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||
} else {
|
||||
rows.css('display','table-row'); // using show() causes jump in firefox
|
||||
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||
}
|
||||
}
|
||||
/* @license-end */
|
||||
71
doc/html/files.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: File List</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">File List</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all files with brief descriptions:</div><div class="directory">
|
||||
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span id="img_0_" class="iconfopen" onclick="toggleFolder('0_')"> </span><a class="el" href="dir_b62156a74b5a818be0c2ef9f85294b95.html" target="_self">distcheck</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json_8h.html" target="_self">json.h</a></td><td class="desc">A convenience header that may be included instead of other individual ones </td></tr>
|
||||
<tr id="row_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="arraylist_8h.html" target="_self">arraylist.h</a></td><td class="desc">Internal methods for working with json_type_array objects. Although this is exposed by the <a class="el" href="json__object_8h.html#a9e02b6193aea79f3d70c451b5af972dc">json_object_get_array()</a> method, it is not recommended for direct use </td></tr>
|
||||
<tr id="row_2_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__c__version_8h.html" target="_self">json_c_version.h</a></td><td class="desc">Methods for retrieving the json-c version </td></tr>
|
||||
<tr id="row_3_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__inttypes_8h.html" target="_self">json_inttypes.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time </td></tr>
|
||||
<tr id="row_4_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__object_8h.html" target="_self">json_object.h</a></td><td class="desc">Core json-c API. Start here, or with <a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a> </td></tr>
|
||||
<tr id="row_5_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__object__iterator_8h.html" target="_self">json_object_iterator.h</a></td><td class="desc">An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a> </td></tr>
|
||||
<tr id="row_6_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__patch_8h.html" target="_self">json_patch.h</a></td><td class="desc">JSON Patch (RFC 6902) implementation for manipulating JSON objects </td></tr>
|
||||
<tr id="row_7_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__pointer_8h.html" target="_self">json_pointer.h</a></td><td class="desc">JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree </td></tr>
|
||||
<tr id="row_8_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__pointer__private_8h.html" target="_self">json_pointer_private.h</a></td><td class="desc">Do not use, json-c internal, may be changed or removed at any time </td></tr>
|
||||
<tr id="row_9_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__tokener_8h.html" target="_self">json_tokener.h</a></td><td class="desc">Methods to parse an input string into a tree of json_object objects </td></tr>
|
||||
<tr id="row_10_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__types_8h.html" target="_self">json_types.h</a></td><td class="desc">Basic types used in a few places in json-c, but you should include "json_object.h" instead </td></tr>
|
||||
<tr id="row_11_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__util_8h.html" target="_self">json_util.h</a></td><td class="desc">Miscllaneous utility functions and macros </td></tr>
|
||||
<tr id="row_12_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="json__visit_8h.html" target="_self">json_visit.h</a></td><td class="desc">Methods for walking a tree of objects </td></tr>
|
||||
<tr id="row_13_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="linkhash_8h.html" target="_self">linkhash.h</a></td><td class="desc">Internal methods for working with json_type_object objects. Although this is exposed by the <a class="el" href="json__object_8h.html#ad59d615fe79a882586991c8183fa4264">json_object_get_object()</a> function and within the <a class="el" href="structjson__object__iter.html">json_object_iter</a> type, it is not recommended for direct use </td></tr>
|
||||
<tr id="row_14_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="printbuf_8h.html" target="_self">printbuf.h</a></td><td class="desc">Internal string buffer handling. Unless you're writing a json_object_to_json_string_fn implementation for use with <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object_set_serializer()</a> direct use of this is not recommended </td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
BIN
doc/html/folderclosed.png
Normal file
|
After Width: | Height: | Size: 616 B |
BIN
doc/html/folderopen.png
Normal file
|
After Width: | Height: | Size: 597 B |
168
doc/html/functions.html
Normal file
@@ -0,0 +1,168 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Data Fields</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all struct and union fields with links to the structures/unions they belong to:</div>
|
||||
|
||||
<h3><a id="index_a" name="index_a"></a>- a -</h3><ul>
|
||||
<li>array : <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_b" name="index_b"></a>- b -</h3><ul>
|
||||
<li>bpos : <a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">printbuf</a></li>
|
||||
<li>buf : <a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">printbuf</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_c" name="index_c"></a>- c -</h3><ul>
|
||||
<li>char_offset : <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a></li>
|
||||
<li>count : <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a></li>
|
||||
<li>current : <a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">json_tokener_srec</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_d" name="index_d"></a>- d -</h3><ul>
|
||||
<li>depth : <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_e" name="index_e"></a>- e -</h3><ul>
|
||||
<li>entry : <a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">json_object_iter</a></li>
|
||||
<li>equal_fn : <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table</a></li>
|
||||
<li>err : <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener</a></li>
|
||||
<li>errmsg : <a class="el" href="structjson__patch__error.html#a6c7bdff0bc64ac7eb84224c3c6be3361">json_patch_error</a></li>
|
||||
<li>errno_code : <a class="el" href="structjson__patch__error.html#a80d2ee1f1d8ee4c1923e4c5a81950ac3">json_patch_error</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_f" name="index_f"></a>- f -</h3><ul>
|
||||
<li>flags : <a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">json_tokener</a></li>
|
||||
<li>free_fn : <a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">array_list</a>, <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_h" name="index_h"></a>- h -</h3><ul>
|
||||
<li>hash_fn : <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table</a></li>
|
||||
<li>head : <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table</a></li>
|
||||
<li>high_surrogate : <a class="el" href="structjson__tokener.html#a7432d9136ff5e5ceff0d02b1c3e28c18">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_i" name="index_i"></a>- i -</h3><ul>
|
||||
<li>index_in_parent : <a class="el" href="structjson__pointer__get__result.html#ab4018de1d0573e9db323ba0627da6ab1">json_pointer_get_result</a></li>
|
||||
<li>is_double : <a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_k" name="index_k"></a>- k -</h3><ul>
|
||||
<li>k : <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry</a></li>
|
||||
<li>k_is_constant : <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry</a></li>
|
||||
<li>key : <a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">json_object_iter</a></li>
|
||||
<li>key_in_parent : <a class="el" href="structjson__pointer__get__result.html#a09096a029acda753531551ea2548db6a">json_pointer_get_result</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_l" name="index_l"></a>- l -</h3><ul>
|
||||
<li>length : <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_m" name="index_m"></a>- m -</h3><ul>
|
||||
<li>max_depth : <a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_n" name="index_n"></a>- n -</h3><ul>
|
||||
<li>next : <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_o" name="index_o"></a>- o -</h3><ul>
|
||||
<li>obj : <a class="el" href="structjson__pointer__get__result.html#a9919695cf5fd827e14b843d22b222d8b">json_pointer_get_result</a>, <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a></li>
|
||||
<li>obj_field_name : <a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">json_tokener_srec</a></li>
|
||||
<li>opaque_ : <a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">json_object_iterator</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
|
||||
<li>parent : <a class="el" href="structjson__pointer__get__result.html#adba314387ced3bef96877d8cf756b087">json_pointer_get_result</a></li>
|
||||
<li>patch_failure_idx : <a class="el" href="structjson__patch__error.html#a25a3684349fc0a52585511eb734ecb7a">json_patch_error</a></li>
|
||||
<li>pb : <a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">json_tokener</a></li>
|
||||
<li>prev : <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_q" name="index_q"></a>- q -</h3><ul>
|
||||
<li>quote_char : <a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
|
||||
<li>saved_state : <a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">json_tokener_srec</a></li>
|
||||
<li>size : <a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">array_list</a>, <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table</a>, <a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">printbuf</a></li>
|
||||
<li>st_pos : <a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">json_tokener</a></li>
|
||||
<li>stack : <a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">json_tokener</a></li>
|
||||
<li>str : <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_t" name="index_t"></a>- t -</h3><ul>
|
||||
<li>table : <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table</a></li>
|
||||
<li>tail : <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_u" name="index_u"></a>- u -</h3><ul>
|
||||
<li>ucs_char : <a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_v" name="index_v"></a>- v -</h3><ul>
|
||||
<li>v : <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry</a></li>
|
||||
<li>val : <a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">json_object_iter</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
168
doc/html/functions_vars.html
Normal file
@@ -0,0 +1,168 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Data Fields - Variables</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a id="index_a" name="index_a"></a>- a -</h3><ul>
|
||||
<li>array : <a class="el" href="structarray__list.html#a7ba65feda2b156148c08667cf155b657">array_list</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_b" name="index_b"></a>- b -</h3><ul>
|
||||
<li>bpos : <a class="el" href="structprintbuf.html#aba980ad7406329e32f557dfa0eb7b1b2">printbuf</a></li>
|
||||
<li>buf : <a class="el" href="structprintbuf.html#a5d7cf8ac260f1f7c50fecaf9bd7bc651">printbuf</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_c" name="index_c"></a>- c -</h3><ul>
|
||||
<li>char_offset : <a class="el" href="structjson__tokener.html#a9daae2516fd6df23555d33ef01020a76">json_tokener</a></li>
|
||||
<li>count : <a class="el" href="structlh__table.html#aa172ed8fe205367b54e0e2cdf9ea8c6c">lh_table</a></li>
|
||||
<li>current : <a class="el" href="structjson__tokener__srec.html#a466f192f920368a5a6375aeba1e2757f">json_tokener_srec</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_d" name="index_d"></a>- d -</h3><ul>
|
||||
<li>depth : <a class="el" href="structjson__tokener.html#ae0e5102b44cc1fc680be3e0fb5fff028">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_e" name="index_e"></a>- e -</h3><ul>
|
||||
<li>entry : <a class="el" href="structjson__object__iter.html#a64e326f050826c644c02ed5bcd214faa">json_object_iter</a></li>
|
||||
<li>equal_fn : <a class="el" href="structlh__table.html#aa646c287a6a46e09da6c7457c981a359">lh_table</a></li>
|
||||
<li>err : <a class="el" href="structjson__tokener.html#adef37cdc2578d8f8920db14315728cbd">json_tokener</a></li>
|
||||
<li>errmsg : <a class="el" href="structjson__patch__error.html#a6c7bdff0bc64ac7eb84224c3c6be3361">json_patch_error</a></li>
|
||||
<li>errno_code : <a class="el" href="structjson__patch__error.html#a80d2ee1f1d8ee4c1923e4c5a81950ac3">json_patch_error</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_f" name="index_f"></a>- f -</h3><ul>
|
||||
<li>flags : <a class="el" href="structjson__tokener.html#aabfdcf2825154108669ffa3f4ab9c4ea">json_tokener</a></li>
|
||||
<li>free_fn : <a class="el" href="structarray__list.html#ab7989cdde357e5c7819c562c7680ab74">array_list</a>, <a class="el" href="structlh__table.html#a30ea5903f4f8126abd6aa489ffe14737">lh_table</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_h" name="index_h"></a>- h -</h3><ul>
|
||||
<li>hash_fn : <a class="el" href="structlh__table.html#a1488d1a4a320b1a9bb2f441859544be1">lh_table</a></li>
|
||||
<li>head : <a class="el" href="structlh__table.html#aa7d986a3b12a9fa47e349713794c30fb">lh_table</a></li>
|
||||
<li>high_surrogate : <a class="el" href="structjson__tokener.html#a7432d9136ff5e5ceff0d02b1c3e28c18">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_i" name="index_i"></a>- i -</h3><ul>
|
||||
<li>index_in_parent : <a class="el" href="structjson__pointer__get__result.html#ab4018de1d0573e9db323ba0627da6ab1">json_pointer_get_result</a></li>
|
||||
<li>is_double : <a class="el" href="structjson__tokener.html#ad3bf0aa728ea14549d5aa6ca8dcba070">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_k" name="index_k"></a>- k -</h3><ul>
|
||||
<li>k : <a class="el" href="structlh__entry.html#a79d9f1ef0dc444e17105aaeaf167e22c">lh_entry</a></li>
|
||||
<li>k_is_constant : <a class="el" href="structlh__entry.html#a14f40cc124c32b03f81151ae7934d2e7">lh_entry</a></li>
|
||||
<li>key : <a class="el" href="structjson__object__iter.html#a0b76228b3a039075e9d84f88fa72ff53">json_object_iter</a></li>
|
||||
<li>key_in_parent : <a class="el" href="structjson__pointer__get__result.html#a09096a029acda753531551ea2548db6a">json_pointer_get_result</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_l" name="index_l"></a>- l -</h3><ul>
|
||||
<li>length : <a class="el" href="structarray__list.html#a5638022574f4ddb0f80d62535085bf4f">array_list</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_m" name="index_m"></a>- m -</h3><ul>
|
||||
<li>max_depth : <a class="el" href="structjson__tokener.html#a9d9b33c3982925349627dc6a3edca940">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_n" name="index_n"></a>- n -</h3><ul>
|
||||
<li>next : <a class="el" href="structlh__entry.html#a7c40c46e72d9a0ba071a8d49d535bc67">lh_entry</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_o" name="index_o"></a>- o -</h3><ul>
|
||||
<li>obj : <a class="el" href="structjson__pointer__get__result.html#a9919695cf5fd827e14b843d22b222d8b">json_pointer_get_result</a>, <a class="el" href="structjson__tokener__srec.html#ad2bb71affec1da5ba1d9952c3bf2c12a">json_tokener_srec</a></li>
|
||||
<li>obj_field_name : <a class="el" href="structjson__tokener__srec.html#a99551c172e97ac2e7a3849a50b4f51ca">json_tokener_srec</a></li>
|
||||
<li>opaque_ : <a class="el" href="structjson__object__iterator.html#a69c61c14f5a36b1dc2217e49cd987f47">json_object_iterator</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
|
||||
<li>parent : <a class="el" href="structjson__pointer__get__result.html#adba314387ced3bef96877d8cf756b087">json_pointer_get_result</a></li>
|
||||
<li>patch_failure_idx : <a class="el" href="structjson__patch__error.html#a25a3684349fc0a52585511eb734ecb7a">json_patch_error</a></li>
|
||||
<li>pb : <a class="el" href="structjson__tokener.html#a1cdc7f85d7bde95f81bb08b7e61d6684">json_tokener</a></li>
|
||||
<li>prev : <a class="el" href="structlh__entry.html#a6fb9c3de01fb5af67d8d429921cc6a3b">lh_entry</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_q" name="index_q"></a>- q -</h3><ul>
|
||||
<li>quote_char : <a class="el" href="structjson__tokener.html#aea488b73085ac7c5969ae7fc29e25fa0">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
|
||||
<li>saved_state : <a class="el" href="structjson__tokener__srec.html#a868b9912dbb1e4813a630c944f522d48">json_tokener_srec</a></li>
|
||||
<li>size : <a class="el" href="structarray__list.html#a11b92f48ed715b187f8609351405342f">array_list</a>, <a class="el" href="structlh__table.html#ae251575ec2935bcb0e0589ca8e243839">lh_table</a>, <a class="el" href="structprintbuf.html#a12ce6440eaa06a55b96ebdc5a9778dd5">printbuf</a></li>
|
||||
<li>st_pos : <a class="el" href="structjson__tokener.html#a8eed213c0a37d09c1df66c8567e44471">json_tokener</a></li>
|
||||
<li>stack : <a class="el" href="structjson__tokener.html#a3521d62906eb0e15d07d7b4f64a5fac3">json_tokener</a></li>
|
||||
<li>str : <a class="el" href="structjson__tokener.html#a9772e2170322a19d8da6ce5d7dc46895">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_t" name="index_t"></a>- t -</h3><ul>
|
||||
<li>table : <a class="el" href="structlh__table.html#a4fd9c5aba38791b26ab0ec614a5caf8f">lh_table</a></li>
|
||||
<li>tail : <a class="el" href="structlh__table.html#a479895e45db2bdf9bf5d173fa4b7e277">lh_table</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_u" name="index_u"></a>- u -</h3><ul>
|
||||
<li>ucs_char : <a class="el" href="structjson__tokener.html#a32fa73e43fb760e6845231a8482eb064">json_tokener</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_v" name="index_v"></a>- v -</h3><ul>
|
||||
<li>v : <a class="el" href="structlh__entry.html#a1b676732ab2ad3eeaedf6ec60a6a0835">lh_entry</a></li>
|
||||
<li>val : <a class="el" href="structjson__object__iter.html#aaae14a8d17aacddacb0a57234e0a4491">json_object_iter</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
67
doc/html/globals.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_a" name="index_a"></a>- a -</h3><ul>
|
||||
<li>array_list : <a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">arraylist.h</a></li>
|
||||
<li>array_list_add() : <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a></li>
|
||||
<li>array_list_bsearch() : <a class="el" href="arraylist_8h.html#ab5d92e8649d05bc7baf73fedc90ae735">arraylist.h</a></li>
|
||||
<li>ARRAY_LIST_DEFAULT_SIZE : <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a></li>
|
||||
<li>array_list_del_idx() : <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a></li>
|
||||
<li>array_list_free() : <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a></li>
|
||||
<li>array_list_free_fn : <a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">arraylist.h</a></li>
|
||||
<li>array_list_get_idx() : <a class="el" href="arraylist_8h.html#ad5403923c175ea8051211b551cbe2126">arraylist.h</a></li>
|
||||
<li>array_list_insert_idx() : <a class="el" href="arraylist_8h.html#ad6f20316519b3dafec557368ee5c6cf3">arraylist.h</a></li>
|
||||
<li>array_list_length() : <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">arraylist.h</a></li>
|
||||
<li>array_list_new() : <a class="el" href="arraylist_8h.html#ae27da2357b36a98a0078c24e502ce34a">arraylist.h</a></li>
|
||||
<li>array_list_new2() : <a class="el" href="arraylist_8h.html#a51973b4fe38d4d287ab451481af169fa">arraylist.h</a></li>
|
||||
<li>array_list_put_idx() : <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">arraylist.h</a></li>
|
||||
<li>array_list_shrink() : <a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">arraylist.h</a></li>
|
||||
<li>array_list_sort() : <a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">arraylist.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
118
doc/html/globals_defs.html
Normal file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a id="index_a" name="index_a"></a>- a -</h3><ul>
|
||||
<li>ARRAY_LIST_DEFAULT_SIZE : <a class="el" href="arraylist_8h.html#acd30d910b398421574eb1f59e78617f5">arraylist.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_j" name="index_j"></a>- j -</h3><ul>
|
||||
<li>JSON_C_CONST_FUNCTION : <a class="el" href="json__object_8h.html#a878f59e029f19db79ff9eb41fdcf4c6d">json_object.h</a></li>
|
||||
<li>JSON_C_MAJOR_VERSION : <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a></li>
|
||||
<li>JSON_C_MICRO_VERSION : <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">json_c_version.h</a></li>
|
||||
<li>JSON_C_MINOR_VERSION : <a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">json_c_version.h</a></li>
|
||||
<li>JSON_C_OBJECT_ADD_CONSTANT_KEY : <a class="el" href="json__object_8h.html#a4d303af657ca4ee8e487366ba9692c94">json_object.h</a></li>
|
||||
<li>JSON_C_OBJECT_ADD_KEY_IS_NEW : <a class="el" href="json__object_8h.html#a8cd01c484155ac99043a35b7c85ae411">json_object.h</a></li>
|
||||
<li>JSON_C_OBJECT_KEY_IS_CONSTANT : <a class="el" href="json__object_8h.html#a134ffafc6116799a20134dc7646b5a37">json_object.h</a></li>
|
||||
<li>JSON_C_OPTION_GLOBAL : <a class="el" href="json__object_8h.html#a45837b8c6564f9e605f8a2bc76243750">json_object.h</a></li>
|
||||
<li>JSON_C_OPTION_THREAD : <a class="el" href="json__object_8h.html#a50d1490598fe476d7a53e204e02cdc9d">json_object.h</a></li>
|
||||
<li>JSON_C_STR_HASH_DFLT : <a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">linkhash.h</a></li>
|
||||
<li>JSON_C_STR_HASH_PERLLIKE : <a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">linkhash.h</a></li>
|
||||
<li>JSON_C_TO_STRING_COLOR : <a class="el" href="json__object_8h.html#a195258c9acc1f8a216d7c9528b00d450">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_NOSLASHESCAPE : <a class="el" href="json__object_8h.html#a5c11d72c55f3ab7c088f19e7bf118163">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_NOZERO : <a class="el" href="json__object_8h.html#a34f027c147babf69fc530d088f2b49b0">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_PLAIN : <a class="el" href="json__object_8h.html#a3294cb92765cdeb497cfd346644d1059">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_PRETTY : <a class="el" href="json__object_8h.html#a2025bc677c35f130e117dfda5bf1ef73">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_PRETTY_TAB : <a class="el" href="json__object_8h.html#afc1486af21f6b1653c6f523025bdfd3b">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_SPACED : <a class="el" href="json__object_8h.html#aa821746c8668e6ad62bed90ec9e00103">json_object.h</a></li>
|
||||
<li>JSON_C_VERSION : <a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">json_c_version.h</a></li>
|
||||
<li>JSON_C_VERSION_NUM : <a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">json_c_version.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_CONTINUE : <a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_ERROR : <a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_POP : <a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_SKIP : <a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_STOP : <a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_SECOND : <a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">json_visit.h</a></li>
|
||||
<li>JSON_EXPORT : <a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_c_version.h</a>, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>, <a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">printbuf.h</a></li>
|
||||
<li>JSON_FILE_BUF_SIZE : <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a></li>
|
||||
<li>json_max : <a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_util.h</a></li>
|
||||
<li>json_min : <a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_util.h</a></li>
|
||||
<li>JSON_OBJECT_DEF_HASH_ENTRIES : <a class="el" href="json__object_8h.html#a268a63dd1b2e6d81559e268a4529e9bf">json_object.h</a></li>
|
||||
<li>json_object_object_foreach : <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object.h</a></li>
|
||||
<li>json_object_object_foreachC : <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object.h</a></li>
|
||||
<li>JSON_TOKENER_ALLOW_TRAILING_CHARS : <a class="el" href="json__tokener_8h.html#aa74428c9cf57655eea5b49feae3f2704">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_DEFAULT_DEPTH : <a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_STRICT : <a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_VALIDATE_UTF8 : <a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">json_tokener.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_l" name="index_l"></a>- l -</h3><ul>
|
||||
<li>LH_EMPTY : <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a></li>
|
||||
<li>lh_foreach : <a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">linkhash.h</a></li>
|
||||
<li>lh_foreach_safe : <a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">linkhash.h</a></li>
|
||||
<li>LH_FREED : <a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">linkhash.h</a></li>
|
||||
<li>LH_LOAD_FACTOR : <a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">linkhash.h</a></li>
|
||||
<li>LH_PRIME : <a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">linkhash.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
|
||||
<li>PRId64 : <a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">json_inttypes.h</a></li>
|
||||
<li>printbuf_length : <a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf.h</a></li>
|
||||
<li>printbuf_memappend_fast : <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf.h</a></li>
|
||||
<li>printbuf_strappend : <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf.h</a></li>
|
||||
<li>PRIu64 : <a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">json_inttypes.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
|
||||
<li>SCNd64 : <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
53
doc/html/globals_enum.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>json_tokener_error : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a></li>
|
||||
<li>json_tokener_state : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener.h</a></li>
|
||||
<li>json_type : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_types.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
103
doc/html/globals_eval.html
Normal file
@@ -0,0 +1,103 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a id="index_j" name="index_j"></a>- j -</h3><ul>
|
||||
<li>json_tokener_continue : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_depth : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_memory : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a23ecf6536cfbfb48781fd7874eef59a0">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_array : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_boolean : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_comment : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_eof : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_null : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_number : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_object_key_name : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_object_key_sep : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_object_value_sep : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_string : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_unexpected : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_utf8_string : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_size : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array_add : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array_after_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_boolean : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment_end : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment_eol : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment_start : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_eatws : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_escape_unicode : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_escape_unicode_need_escape : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_escape_unicode_need_u : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_finish : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_inf : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_null : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_number : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field_end : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field_start : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field_start_after_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_value : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_value_add : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_start : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_string : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_string_escape : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener.h</a></li>
|
||||
<li>json_tokener_success : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener.h</a></li>
|
||||
<li>json_type_array : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a></li>
|
||||
<li>json_type_boolean : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_types.h</a></li>
|
||||
<li>json_type_double : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_types.h</a></li>
|
||||
<li>json_type_int : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_types.h</a></li>
|
||||
<li>json_type_null : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_types.h</a></li>
|
||||
<li>json_type_object : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_types.h</a></li>
|
||||
<li>json_type_string : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_types.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
206
doc/html/globals_func.html
Normal file
@@ -0,0 +1,206 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 
|
||||
|
||||
<h3><a id="index_a" name="index_a"></a>- a -</h3><ul>
|
||||
<li>array_list_add() : <a class="el" href="arraylist_8h.html#a6e995608aa464244ff3184fb43574dc8">arraylist.h</a></li>
|
||||
<li>array_list_bsearch() : <a class="el" href="arraylist_8h.html#ab5d92e8649d05bc7baf73fedc90ae735">arraylist.h</a></li>
|
||||
<li>array_list_del_idx() : <a class="el" href="arraylist_8h.html#aecedd8601ee96e2fd8eff5d83fda89ab">arraylist.h</a></li>
|
||||
<li>array_list_free() : <a class="el" href="arraylist_8h.html#acd00fb70f7ca82f23b48b812c3498f67">arraylist.h</a></li>
|
||||
<li>array_list_get_idx() : <a class="el" href="arraylist_8h.html#ad5403923c175ea8051211b551cbe2126">arraylist.h</a></li>
|
||||
<li>array_list_insert_idx() : <a class="el" href="arraylist_8h.html#ad6f20316519b3dafec557368ee5c6cf3">arraylist.h</a></li>
|
||||
<li>array_list_length() : <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">arraylist.h</a></li>
|
||||
<li>array_list_new() : <a class="el" href="arraylist_8h.html#ae27da2357b36a98a0078c24e502ce34a">arraylist.h</a></li>
|
||||
<li>array_list_new2() : <a class="el" href="arraylist_8h.html#a51973b4fe38d4d287ab451481af169fa">arraylist.h</a></li>
|
||||
<li>array_list_put_idx() : <a class="el" href="arraylist_8h.html#a9f92076e9d8229f8a07e536dc286f811">arraylist.h</a></li>
|
||||
<li>array_list_shrink() : <a class="el" href="arraylist_8h.html#aff21b2a00573f8f0085b81ce1de1a850">arraylist.h</a></li>
|
||||
<li>array_list_sort() : <a class="el" href="arraylist_8h.html#afb67cc8e2e5c9be41c3e644536079169">arraylist.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_j" name="index_j"></a>- j -</h3><ul>
|
||||
<li>json_c_object_sizeof() : <a class="el" href="json__object_8h.html#af50be932ec85694ae40141b46901bd00">json_object.h</a></li>
|
||||
<li>json_c_set_serialization_double_format() : <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a></li>
|
||||
<li>json_c_version() : <a class="el" href="json__c__version_8h.html#aec6c6eee13d5dd942f9026fb5f3f21ff">json_c_version.h</a></li>
|
||||
<li>json_c_version_num() : <a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version.h</a></li>
|
||||
<li>json_c_visit() : <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_visit.h</a></li>
|
||||
<li>json_global_set_string_hash() : <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a></li>
|
||||
<li>json_object_array_add() : <a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object.h</a></li>
|
||||
<li>json_object_array_bsearch() : <a class="el" href="json__object_8h.html#a051f1c1a61f3851d1eed11783772a8ba">json_object.h</a></li>
|
||||
<li>json_object_array_del_idx() : <a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object.h</a></li>
|
||||
<li>json_object_array_get_idx() : <a class="el" href="json__object_8h.html#af229a1625af2aae7116a0bd6fb1e5ad2">json_object.h</a></li>
|
||||
<li>json_object_array_insert_idx() : <a class="el" href="json__object_8h.html#ae40a00944afd41c9a463c6d9e8256f3b">json_object.h</a></li>
|
||||
<li>json_object_array_length() : <a class="el" href="json__object_8h.html#ab9ea8f9c72d5adf83fdcbfe69f97fa44">json_object.h</a></li>
|
||||
<li>json_object_array_put_idx() : <a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object.h</a></li>
|
||||
<li>json_object_array_shrink() : <a class="el" href="json__object_8h.html#a95552402a95c9470b230052d92270247">json_object.h</a></li>
|
||||
<li>json_object_array_sort() : <a class="el" href="json__object_8h.html#a5584e2f2051cd1faa7fafd07ba888fd1">json_object.h</a></li>
|
||||
<li>json_object_deep_copy() : <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object.h</a></li>
|
||||
<li>json_object_double_to_json_string() : <a class="el" href="json__object_8h.html#ada262c62364e3819b6a64b1e3a632336">json_object.h</a></li>
|
||||
<li>json_object_equal() : <a class="el" href="json__object_8h.html#a5a1d4640525e0217059868e312f20579">json_object.h</a></li>
|
||||
<li>json_object_from_fd() : <a class="el" href="json__util_8h.html#aa07667602c9e92eb9bbc3e51c4dfd06d">json_util.h</a></li>
|
||||
<li>json_object_from_fd_ex() : <a class="el" href="json__util_8h.html#afcf6a91c5f70ab38eab92d938c67475f">json_util.h</a></li>
|
||||
<li>json_object_from_file() : <a class="el" href="json__util_8h.html#a588aec4a89d4d4c9c6eb524036d6ecc1">json_util.h</a></li>
|
||||
<li>json_object_get() : <a class="el" href="json__object_8h.html#ac5bbb5364ee14d645ac7b6e169a9d74b">json_object.h</a></li>
|
||||
<li>json_object_get_array() : <a class="el" href="json__object_8h.html#a9e02b6193aea79f3d70c451b5af972dc">json_object.h</a></li>
|
||||
<li>json_object_get_boolean() : <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object.h</a></li>
|
||||
<li>json_object_get_double() : <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object.h</a></li>
|
||||
<li>json_object_get_int() : <a class="el" href="json__object_8h.html#a8c56dc58a02f92cd6789ba5dcb9fe7b1">json_object.h</a></li>
|
||||
<li>json_object_get_int64() : <a class="el" href="json__object_8h.html#a1a14750b3af4df18ec8dc93b090a8e8a">json_object.h</a></li>
|
||||
<li>json_object_get_object() : <a class="el" href="json__object_8h.html#ad59d615fe79a882586991c8183fa4264">json_object.h</a></li>
|
||||
<li>json_object_get_string() : <a class="el" href="json__object_8h.html#a5286b0d71c0c83b0f9656c837b7871ca">json_object.h</a></li>
|
||||
<li>json_object_get_string_len() : <a class="el" href="json__object_8h.html#ac1d1f95a27a5e5d93bb66a8adfc1a2f4">json_object.h</a></li>
|
||||
<li>json_object_get_type() : <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object.h</a></li>
|
||||
<li>json_object_get_uint64() : <a class="el" href="json__object_8h.html#a82c27579b6d25d9d0eb3b72758d8b71d">json_object.h</a></li>
|
||||
<li>json_object_get_userdata() : <a class="el" href="json__object_8h.html#a5eae4d0abccf3378bc95fdbf41536348">json_object.h</a></li>
|
||||
<li>json_object_int_inc() : <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a></li>
|
||||
<li>json_object_is_type() : <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a></li>
|
||||
<li>json_object_iter_begin() : <a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_end() : <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_equal() : <a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_init_default() : <a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_next() : <a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_peek_name() : <a class="el" href="json__object__iterator_8h.html#ac0b1cb5e3f4b04664ae9f18a61548633">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_peek_value() : <a class="el" href="json__object__iterator_8h.html#a90f8938ea175a9213713688f18c3116a">json_object_iterator.h</a></li>
|
||||
<li>json_object_new_array() : <a class="el" href="json__object_8h.html#ab91bc796d5e343659083957ee9f71ee5">json_object.h</a></li>
|
||||
<li>json_object_new_array_ext() : <a class="el" href="json__object_8h.html#a48f9e2a11f2f5fcec1c36207703f2463">json_object.h</a></li>
|
||||
<li>json_object_new_boolean() : <a class="el" href="json__object_8h.html#a7edb7c32ed13a49d44ec71c3b35d5274">json_object.h</a></li>
|
||||
<li>json_object_new_double() : <a class="el" href="json__object_8h.html#ad8c0b4430f060a1c5c10bf3ec3eee602">json_object.h</a></li>
|
||||
<li>json_object_new_double_s() : <a class="el" href="json__object_8h.html#a1f7d0de178edc105e6e3a36fa8919f9a">json_object.h</a></li>
|
||||
<li>json_object_new_int() : <a class="el" href="json__object_8h.html#a1a948f2bb24d91408212c12c2791dcaa">json_object.h</a></li>
|
||||
<li>json_object_new_int64() : <a class="el" href="json__object_8h.html#a56a101ff8699a3b77a96e5b9ec106ebd">json_object.h</a></li>
|
||||
<li>json_object_new_null() : <a class="el" href="json__object_8h.html#ab5cf5892e25af49f33582d77f0e010c8">json_object.h</a></li>
|
||||
<li>json_object_new_object() : <a class="el" href="json__object_8h.html#a514cf1a819b82dba0c1236695cdedd1e">json_object.h</a></li>
|
||||
<li>json_object_new_string() : <a class="el" href="json__object_8h.html#a55eeb2ee4415cd56a8688b24787c1c97">json_object.h</a></li>
|
||||
<li>json_object_new_string_len() : <a class="el" href="json__object_8h.html#aa3bdd164ddee3de269e6fce953f6b05c">json_object.h</a></li>
|
||||
<li>json_object_new_uint64() : <a class="el" href="json__object_8h.html#a5061f1239a14287222742b45372bca4b">json_object.h</a></li>
|
||||
<li>json_object_object_add() : <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object.h</a></li>
|
||||
<li>json_object_object_add_ex() : <a class="el" href="json__object_8h.html#a57d3e444dd7db6b4510d21bf3716a002">json_object.h</a></li>
|
||||
<li>json_object_object_del() : <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object.h</a></li>
|
||||
<li>json_object_object_get() : <a class="el" href="json__object_8h.html#af7a569d69c3b90e79af7ef21e557e402">json_object.h</a></li>
|
||||
<li>json_object_object_get_ex() : <a class="el" href="json__object_8h.html#a4acea3dfa9c2c513eec62588e1580612">json_object.h</a></li>
|
||||
<li>json_object_object_length() : <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a></li>
|
||||
<li>json_object_put() : <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a></li>
|
||||
<li>json_object_set_boolean() : <a class="el" href="json__object_8h.html#a23863c1503f3a8dd8a460a6405da0a65">json_object.h</a></li>
|
||||
<li>json_object_set_double() : <a class="el" href="json__object_8h.html#a3a7b7ce585565558cb69dad8d45d7757">json_object.h</a></li>
|
||||
<li>json_object_set_int() : <a class="el" href="json__object_8h.html#a4ab3568f12e01fd2967e765a72456caa">json_object.h</a></li>
|
||||
<li>json_object_set_int64() : <a class="el" href="json__object_8h.html#a7d3948600dde732abed0e261264ef53a">json_object.h</a></li>
|
||||
<li>json_object_set_serializer() : <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object.h</a></li>
|
||||
<li>json_object_set_string() : <a class="el" href="json__object_8h.html#ac35013e51cdc0651512801c947df431c">json_object.h</a></li>
|
||||
<li>json_object_set_string_len() : <a class="el" href="json__object_8h.html#ae48707a0c8689e14aaa3a9b831db27fc">json_object.h</a></li>
|
||||
<li>json_object_set_uint64() : <a class="el" href="json__object_8h.html#a9900aa9a425e6f14e295b298460b65d4">json_object.h</a></li>
|
||||
<li>json_object_set_userdata() : <a class="el" href="json__object_8h.html#a4ee4281ccd123c62878e931a0a3bc43b">json_object.h</a></li>
|
||||
<li>json_object_to_fd() : <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_util.h</a></li>
|
||||
<li>json_object_to_file() : <a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_util.h</a></li>
|
||||
<li>json_object_to_file_ext() : <a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_util.h</a></li>
|
||||
<li>json_object_to_json_string() : <a class="el" href="json__object_8h.html#a0764ef8e72297c8f0514ddcfd8ae530e">json_object.h</a></li>
|
||||
<li>json_object_to_json_string_ext() : <a class="el" href="json__object_8h.html#a47fe3e7980dc81a1d7f2ab303870789e">json_object.h</a></li>
|
||||
<li>json_object_to_json_string_length() : <a class="el" href="json__object_8h.html#a051c0cc3e56bb3529eff1f0fb9e37df8">json_object.h</a></li>
|
||||
<li>json_parse_double() : <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_util.h</a></li>
|
||||
<li>json_parse_int64() : <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_util.h</a></li>
|
||||
<li>json_parse_uint64() : <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_util.h</a></li>
|
||||
<li>json_patch_apply() : <a class="el" href="json__patch_8h.html#a134aaed1e732d029d34ce2d605f9ac8d">json_patch.h</a></li>
|
||||
<li>json_pointer_get() : <a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer.h</a></li>
|
||||
<li>json_pointer_get_internal() : <a class="el" href="json__pointer__private_8h.html#a0de79c3e3e33f897ba9db340d7372b64">json_pointer_private.h</a></li>
|
||||
<li>json_pointer_getf() : <a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer.h</a></li>
|
||||
<li>json_pointer_set() : <a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer.h</a></li>
|
||||
<li>json_pointer_set_with_array_cb() : <a class="el" href="json__pointer__private_8h.html#a0ac7b6b8de2336f8cd463687d7c148d2">json_pointer_private.h</a></li>
|
||||
<li>json_pointer_setf() : <a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer.h</a></li>
|
||||
<li>json_tokener_error_desc() : <a class="el" href="json__tokener_8h.html#a2c5f8ad4e8884ddcc11f741eac16d435">json_tokener.h</a></li>
|
||||
<li>json_tokener_free() : <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener.h</a></li>
|
||||
<li>json_tokener_get_error() : <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener.h</a></li>
|
||||
<li>json_tokener_get_parse_end() : <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener.h</a></li>
|
||||
<li>json_tokener_new() : <a class="el" href="json__tokener_8h.html#aa9ccdfe720ac77f7cbe0951c778b99d1">json_tokener.h</a></li>
|
||||
<li>json_tokener_new_ex() : <a class="el" href="json__tokener_8h.html#a9d9f1b78983dc1c68463f619b68b4563">json_tokener.h</a></li>
|
||||
<li>json_tokener_parse() : <a class="el" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener.h</a></li>
|
||||
<li>json_tokener_parse_ex() : <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener.h</a></li>
|
||||
<li>json_tokener_parse_verbose() : <a class="el" href="json__tokener_8h.html#ab14722dd924b1940f18a3a9def2948c3">json_tokener.h</a></li>
|
||||
<li>json_tokener_reset() : <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener.h</a></li>
|
||||
<li>json_tokener_set_flags() : <a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener.h</a></li>
|
||||
<li>json_type_to_name() : <a class="el" href="json__util_8h.html#a0ff86f1188508b9ce4e774be6a0b2674">json_util.h</a></li>
|
||||
<li>json_util_get_last_err() : <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_l" name="index_l"></a>- l -</h3><ul>
|
||||
<li>lh_entry_k() : <a class="el" href="linkhash_8h.html#a1ccddba74d3be7588e11333eda1f20ac">linkhash.h</a></li>
|
||||
<li>lh_entry_k_is_constant() : <a class="el" href="linkhash_8h.html#a724c308f1c606271ea3deb01ed9e3cc9">linkhash.h</a></li>
|
||||
<li>lh_entry_next() : <a class="el" href="linkhash_8h.html#a3b14a53ba9926b219190105f14d751b0">linkhash.h</a></li>
|
||||
<li>lh_entry_prev() : <a class="el" href="linkhash_8h.html#a51bb82fec8a605cc219f11890e837ef1">linkhash.h</a></li>
|
||||
<li>lh_entry_set_val() : <a class="el" href="linkhash_8h.html#ad94e87a8ef92ee6371e5314b7241e635">linkhash.h</a></li>
|
||||
<li>lh_entry_v() : <a class="el" href="linkhash_8h.html#abbbcaaaad12ca6bcaebe2cd1437f17a0">linkhash.h</a></li>
|
||||
<li>lh_get_hash() : <a class="el" href="linkhash_8h.html#a33c74c884530d407d0b3baa365238fb4">linkhash.h</a></li>
|
||||
<li>lh_kchar_table_new() : <a class="el" href="linkhash_8h.html#add631744a85cad9ffa0e37d86b8d2baa">linkhash.h</a></li>
|
||||
<li>lh_kptr_table_new() : <a class="el" href="linkhash_8h.html#a870ed3dfc78d586638f0cd62103b5f87">linkhash.h</a></li>
|
||||
<li>lh_table_delete() : <a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">linkhash.h</a></li>
|
||||
<li>lh_table_delete_entry() : <a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">linkhash.h</a></li>
|
||||
<li>lh_table_free() : <a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">linkhash.h</a></li>
|
||||
<li>lh_table_head() : <a class="el" href="linkhash_8h.html#a37bd2f8ccaea39278a13b6eaada657d7">linkhash.h</a></li>
|
||||
<li>lh_table_insert() : <a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">linkhash.h</a></li>
|
||||
<li>lh_table_insert_w_hash() : <a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">linkhash.h</a></li>
|
||||
<li>lh_table_length() : <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">linkhash.h</a></li>
|
||||
<li>lh_table_lookup_entry() : <a class="el" href="linkhash_8h.html#af50f3232ebc21425baaebeb8416f530c">linkhash.h</a></li>
|
||||
<li>lh_table_lookup_entry_w_hash() : <a class="el" href="linkhash_8h.html#a068fcae8ec29b6357ca721b6971e8cc6">linkhash.h</a></li>
|
||||
<li>lh_table_lookup_ex() : <a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">linkhash.h</a></li>
|
||||
<li>lh_table_new() : <a class="el" href="linkhash_8h.html#a3f1d754f41d1ff89c45a552472e3a671">linkhash.h</a></li>
|
||||
<li>lh_table_resize() : <a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">linkhash.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
|
||||
<li>printbuf_free() : <a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf.h</a></li>
|
||||
<li>printbuf_memappend() : <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf.h</a></li>
|
||||
<li>printbuf_memset() : <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf.h</a></li>
|
||||
<li>printbuf_new() : <a class="el" href="printbuf_8h.html#a569dcc73d06828580ab6d9034bf78fea">printbuf.h</a></li>
|
||||
<li>printbuf_reset() : <a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf.h</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
|
||||
<li>sprintbuf() : <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
54
doc/html/globals_i.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_i" name="index_i"></a>- i -</h3><ul>
|
||||
<li>int32_t : <a class="el" href="json__inttypes_8h.html#a37994e3b11c72957c6f454c6ec96d43d">json_inttypes.h</a></li>
|
||||
<li>int64_t : <a class="el" href="json__inttypes_8h.html#a67a9885ef4908cb72ce26d75b694386c">json_inttypes.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
254
doc/html/globals_j.html
Normal file
@@ -0,0 +1,254 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_j" name="index_j"></a>- j -</h3><ul>
|
||||
<li>json_bool : <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_types.h</a></li>
|
||||
<li>JSON_C_CONST_FUNCTION : <a class="el" href="json__object_8h.html#a878f59e029f19db79ff9eb41fdcf4c6d">json_object.h</a></li>
|
||||
<li>JSON_C_MAJOR_VERSION : <a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">json_c_version.h</a></li>
|
||||
<li>JSON_C_MICRO_VERSION : <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">json_c_version.h</a></li>
|
||||
<li>JSON_C_MINOR_VERSION : <a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">json_c_version.h</a></li>
|
||||
<li>JSON_C_OBJECT_ADD_CONSTANT_KEY : <a class="el" href="json__object_8h.html#a4d303af657ca4ee8e487366ba9692c94">json_object.h</a></li>
|
||||
<li>JSON_C_OBJECT_ADD_KEY_IS_NEW : <a class="el" href="json__object_8h.html#a8cd01c484155ac99043a35b7c85ae411">json_object.h</a></li>
|
||||
<li>JSON_C_OBJECT_KEY_IS_CONSTANT : <a class="el" href="json__object_8h.html#a134ffafc6116799a20134dc7646b5a37">json_object.h</a></li>
|
||||
<li>json_c_object_sizeof() : <a class="el" href="json__object_8h.html#af50be932ec85694ae40141b46901bd00">json_object.h</a></li>
|
||||
<li>JSON_C_OPTION_GLOBAL : <a class="el" href="json__object_8h.html#a45837b8c6564f9e605f8a2bc76243750">json_object.h</a></li>
|
||||
<li>JSON_C_OPTION_THREAD : <a class="el" href="json__object_8h.html#a50d1490598fe476d7a53e204e02cdc9d">json_object.h</a></li>
|
||||
<li>json_c_set_serialization_double_format() : <a class="el" href="json__object_8h.html#ac099272b46fde595831118720b155656">json_object.h</a></li>
|
||||
<li>json_c_shallow_copy_default : <a class="el" href="json__object_8h.html#a86ea08e75ddf054742bf806a3bc3f983">json_object.h</a></li>
|
||||
<li>json_c_shallow_copy_fn : <a class="el" href="json__object_8h.html#acfbe0648eb909870e346df0bb42e81e1">json_object.h</a></li>
|
||||
<li>JSON_C_STR_HASH_DFLT : <a class="el" href="linkhash_8h.html#ac32e80138c5be6dd9b0483a9cbcc8799">linkhash.h</a></li>
|
||||
<li>JSON_C_STR_HASH_PERLLIKE : <a class="el" href="linkhash_8h.html#a62316f34fd42941b97a8e9a6b6e68faa">linkhash.h</a></li>
|
||||
<li>JSON_C_TO_STRING_COLOR : <a class="el" href="json__object_8h.html#a195258c9acc1f8a216d7c9528b00d450">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_NOSLASHESCAPE : <a class="el" href="json__object_8h.html#a5c11d72c55f3ab7c088f19e7bf118163">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_NOZERO : <a class="el" href="json__object_8h.html#a34f027c147babf69fc530d088f2b49b0">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_PLAIN : <a class="el" href="json__object_8h.html#a3294cb92765cdeb497cfd346644d1059">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_PRETTY : <a class="el" href="json__object_8h.html#a2025bc677c35f130e117dfda5bf1ef73">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_PRETTY_TAB : <a class="el" href="json__object_8h.html#afc1486af21f6b1653c6f523025bdfd3b">json_object.h</a></li>
|
||||
<li>JSON_C_TO_STRING_SPACED : <a class="el" href="json__object_8h.html#aa821746c8668e6ad62bed90ec9e00103">json_object.h</a></li>
|
||||
<li>JSON_C_VERSION : <a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">json_c_version.h</a></li>
|
||||
<li>json_c_version() : <a class="el" href="json__c__version_8h.html#aec6c6eee13d5dd942f9026fb5f3f21ff">json_c_version.h</a></li>
|
||||
<li>JSON_C_VERSION_NUM : <a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">json_c_version.h</a></li>
|
||||
<li>json_c_version_num() : <a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version.h</a></li>
|
||||
<li>json_c_visit() : <a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_CONTINUE : <a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_ERROR : <a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_POP : <a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_SKIP : <a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_RETURN_STOP : <a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">json_visit.h</a></li>
|
||||
<li>JSON_C_VISIT_SECOND : <a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">json_visit.h</a></li>
|
||||
<li>json_c_visit_userfunc : <a class="el" href="json__visit_8h.html#a9e5b550cfae3f9cecd7a95b2cae336e0">json_visit.h</a></li>
|
||||
<li>JSON_EXPORT : <a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_c_version.h</a>, <a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">json_types.h</a>, <a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">printbuf.h</a></li>
|
||||
<li>JSON_FILE_BUF_SIZE : <a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">json_util.h</a></li>
|
||||
<li>json_global_set_string_hash() : <a class="el" href="linkhash_8h.html#ac8e1d61af44d9c0824d8c7980385bcd3">linkhash.h</a></li>
|
||||
<li>json_max : <a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_util.h</a></li>
|
||||
<li>json_min : <a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_util.h</a></li>
|
||||
<li>json_object : <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a></li>
|
||||
<li>json_object_array_add() : <a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object.h</a></li>
|
||||
<li>json_object_array_bsearch() : <a class="el" href="json__object_8h.html#a051f1c1a61f3851d1eed11783772a8ba">json_object.h</a></li>
|
||||
<li>json_object_array_del_idx() : <a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object.h</a></li>
|
||||
<li>json_object_array_get_idx() : <a class="el" href="json__object_8h.html#af229a1625af2aae7116a0bd6fb1e5ad2">json_object.h</a></li>
|
||||
<li>json_object_array_insert_idx() : <a class="el" href="json__object_8h.html#ae40a00944afd41c9a463c6d9e8256f3b">json_object.h</a></li>
|
||||
<li>json_object_array_length() : <a class="el" href="json__object_8h.html#ab9ea8f9c72d5adf83fdcbfe69f97fa44">json_object.h</a></li>
|
||||
<li>json_object_array_put_idx() : <a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object.h</a></li>
|
||||
<li>json_object_array_shrink() : <a class="el" href="json__object_8h.html#a95552402a95c9470b230052d92270247">json_object.h</a></li>
|
||||
<li>json_object_array_sort() : <a class="el" href="json__object_8h.html#a5584e2f2051cd1faa7fafd07ba888fd1">json_object.h</a></li>
|
||||
<li>json_object_deep_copy() : <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object.h</a></li>
|
||||
<li>JSON_OBJECT_DEF_HASH_ENTRIES : <a class="el" href="json__object_8h.html#a268a63dd1b2e6d81559e268a4529e9bf">json_object.h</a></li>
|
||||
<li>json_object_delete_fn : <a class="el" href="json__types_8h.html#a57e58c272b899b7034c3b5137935117f">json_types.h</a></li>
|
||||
<li>json_object_double_to_json_string() : <a class="el" href="json__object_8h.html#ada262c62364e3819b6a64b1e3a632336">json_object.h</a></li>
|
||||
<li>json_object_equal() : <a class="el" href="json__object_8h.html#a5a1d4640525e0217059868e312f20579">json_object.h</a></li>
|
||||
<li>json_object_free_userdata : <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a></li>
|
||||
<li>json_object_from_fd() : <a class="el" href="json__util_8h.html#aa07667602c9e92eb9bbc3e51c4dfd06d">json_util.h</a></li>
|
||||
<li>json_object_from_fd_ex() : <a class="el" href="json__util_8h.html#afcf6a91c5f70ab38eab92d938c67475f">json_util.h</a></li>
|
||||
<li>json_object_from_file() : <a class="el" href="json__util_8h.html#a588aec4a89d4d4c9c6eb524036d6ecc1">json_util.h</a></li>
|
||||
<li>json_object_get() : <a class="el" href="json__object_8h.html#ac5bbb5364ee14d645ac7b6e169a9d74b">json_object.h</a></li>
|
||||
<li>json_object_get_array() : <a class="el" href="json__object_8h.html#a9e02b6193aea79f3d70c451b5af972dc">json_object.h</a></li>
|
||||
<li>json_object_get_boolean() : <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object.h</a></li>
|
||||
<li>json_object_get_double() : <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object.h</a></li>
|
||||
<li>json_object_get_int() : <a class="el" href="json__object_8h.html#a8c56dc58a02f92cd6789ba5dcb9fe7b1">json_object.h</a></li>
|
||||
<li>json_object_get_int64() : <a class="el" href="json__object_8h.html#a1a14750b3af4df18ec8dc93b090a8e8a">json_object.h</a></li>
|
||||
<li>json_object_get_object() : <a class="el" href="json__object_8h.html#ad59d615fe79a882586991c8183fa4264">json_object.h</a></li>
|
||||
<li>json_object_get_string() : <a class="el" href="json__object_8h.html#a5286b0d71c0c83b0f9656c837b7871ca">json_object.h</a></li>
|
||||
<li>json_object_get_string_len() : <a class="el" href="json__object_8h.html#ac1d1f95a27a5e5d93bb66a8adfc1a2f4">json_object.h</a></li>
|
||||
<li>json_object_get_type() : <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object.h</a></li>
|
||||
<li>json_object_get_uint64() : <a class="el" href="json__object_8h.html#a82c27579b6d25d9d0eb3b72758d8b71d">json_object.h</a></li>
|
||||
<li>json_object_get_userdata() : <a class="el" href="json__object_8h.html#a5eae4d0abccf3378bc95fdbf41536348">json_object.h</a></li>
|
||||
<li>json_object_int_inc() : <a class="el" href="json__object_8h.html#a25691322b2d1ab24a3797e5752eb659f">json_object.h</a></li>
|
||||
<li>json_object_is_type() : <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object.h</a></li>
|
||||
<li>json_object_iter : <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a></li>
|
||||
<li>json_object_iter_begin() : <a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_end() : <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_equal() : <a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_init_default() : <a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_next() : <a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_peek_name() : <a class="el" href="json__object__iterator_8h.html#ac0b1cb5e3f4b04664ae9f18a61548633">json_object_iterator.h</a></li>
|
||||
<li>json_object_iter_peek_value() : <a class="el" href="json__object__iterator_8h.html#a90f8938ea175a9213713688f18c3116a">json_object_iterator.h</a></li>
|
||||
<li>json_object_new_array() : <a class="el" href="json__object_8h.html#ab91bc796d5e343659083957ee9f71ee5">json_object.h</a></li>
|
||||
<li>json_object_new_array_ext() : <a class="el" href="json__object_8h.html#a48f9e2a11f2f5fcec1c36207703f2463">json_object.h</a></li>
|
||||
<li>json_object_new_boolean() : <a class="el" href="json__object_8h.html#a7edb7c32ed13a49d44ec71c3b35d5274">json_object.h</a></li>
|
||||
<li>json_object_new_double() : <a class="el" href="json__object_8h.html#ad8c0b4430f060a1c5c10bf3ec3eee602">json_object.h</a></li>
|
||||
<li>json_object_new_double_s() : <a class="el" href="json__object_8h.html#a1f7d0de178edc105e6e3a36fa8919f9a">json_object.h</a></li>
|
||||
<li>json_object_new_int() : <a class="el" href="json__object_8h.html#a1a948f2bb24d91408212c12c2791dcaa">json_object.h</a></li>
|
||||
<li>json_object_new_int64() : <a class="el" href="json__object_8h.html#a56a101ff8699a3b77a96e5b9ec106ebd">json_object.h</a></li>
|
||||
<li>json_object_new_null() : <a class="el" href="json__object_8h.html#ab5cf5892e25af49f33582d77f0e010c8">json_object.h</a></li>
|
||||
<li>json_object_new_object() : <a class="el" href="json__object_8h.html#a514cf1a819b82dba0c1236695cdedd1e">json_object.h</a></li>
|
||||
<li>json_object_new_string() : <a class="el" href="json__object_8h.html#a55eeb2ee4415cd56a8688b24787c1c97">json_object.h</a></li>
|
||||
<li>json_object_new_string_len() : <a class="el" href="json__object_8h.html#aa3bdd164ddee3de269e6fce953f6b05c">json_object.h</a></li>
|
||||
<li>json_object_new_uint64() : <a class="el" href="json__object_8h.html#a5061f1239a14287222742b45372bca4b">json_object.h</a></li>
|
||||
<li>json_object_object_add() : <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object.h</a></li>
|
||||
<li>json_object_object_add_ex() : <a class="el" href="json__object_8h.html#a57d3e444dd7db6b4510d21bf3716a002">json_object.h</a></li>
|
||||
<li>json_object_object_del() : <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object.h</a></li>
|
||||
<li>json_object_object_foreach : <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object.h</a></li>
|
||||
<li>json_object_object_foreachC : <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object.h</a></li>
|
||||
<li>json_object_object_get() : <a class="el" href="json__object_8h.html#af7a569d69c3b90e79af7ef21e557e402">json_object.h</a></li>
|
||||
<li>json_object_object_get_ex() : <a class="el" href="json__object_8h.html#a4acea3dfa9c2c513eec62588e1580612">json_object.h</a></li>
|
||||
<li>json_object_object_length() : <a class="el" href="json__object_8h.html#ad59a0ad2ec914a5eef90af53acae06d9">json_object.h</a></li>
|
||||
<li>json_object_put() : <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object.h</a></li>
|
||||
<li>json_object_set_boolean() : <a class="el" href="json__object_8h.html#a23863c1503f3a8dd8a460a6405da0a65">json_object.h</a></li>
|
||||
<li>json_object_set_double() : <a class="el" href="json__object_8h.html#a3a7b7ce585565558cb69dad8d45d7757">json_object.h</a></li>
|
||||
<li>json_object_set_int() : <a class="el" href="json__object_8h.html#a4ab3568f12e01fd2967e765a72456caa">json_object.h</a></li>
|
||||
<li>json_object_set_int64() : <a class="el" href="json__object_8h.html#a7d3948600dde732abed0e261264ef53a">json_object.h</a></li>
|
||||
<li>json_object_set_serializer() : <a class="el" href="json__object_8h.html#a889345512a214b8f78f6a73561523c7c">json_object.h</a></li>
|
||||
<li>json_object_set_string() : <a class="el" href="json__object_8h.html#ac35013e51cdc0651512801c947df431c">json_object.h</a></li>
|
||||
<li>json_object_set_string_len() : <a class="el" href="json__object_8h.html#ae48707a0c8689e14aaa3a9b831db27fc">json_object.h</a></li>
|
||||
<li>json_object_set_uint64() : <a class="el" href="json__object_8h.html#a9900aa9a425e6f14e295b298460b65d4">json_object.h</a></li>
|
||||
<li>json_object_set_userdata() : <a class="el" href="json__object_8h.html#a4ee4281ccd123c62878e931a0a3bc43b">json_object.h</a></li>
|
||||
<li>json_object_to_fd() : <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_util.h</a></li>
|
||||
<li>json_object_to_file() : <a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_util.h</a></li>
|
||||
<li>json_object_to_file_ext() : <a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_util.h</a></li>
|
||||
<li>json_object_to_json_string() : <a class="el" href="json__object_8h.html#a0764ef8e72297c8f0514ddcfd8ae530e">json_object.h</a></li>
|
||||
<li>json_object_to_json_string_ext() : <a class="el" href="json__object_8h.html#a47fe3e7980dc81a1d7f2ab303870789e">json_object.h</a></li>
|
||||
<li>json_object_to_json_string_fn : <a class="el" href="json__types_8h.html#ad689953451ffa828830d349f4cd72563">json_types.h</a></li>
|
||||
<li>json_object_to_json_string_length() : <a class="el" href="json__object_8h.html#a051c0cc3e56bb3529eff1f0fb9e37df8">json_object.h</a></li>
|
||||
<li>json_object_userdata_to_json_string : <a class="el" href="json__object_8h.html#a56091ddbd2ec6d6200558cbeff1b86b8">json_object.h</a></li>
|
||||
<li>json_parse_double() : <a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_util.h</a></li>
|
||||
<li>json_parse_int64() : <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_util.h</a></li>
|
||||
<li>json_parse_uint64() : <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_util.h</a></li>
|
||||
<li>json_patch_apply() : <a class="el" href="json__patch_8h.html#a134aaed1e732d029d34ce2d605f9ac8d">json_patch.h</a></li>
|
||||
<li>json_pointer_array_set_cb : <a class="el" href="json__pointer__private_8h.html#a26be669fffee1f771c28cd932237e5aa">json_pointer_private.h</a></li>
|
||||
<li>json_pointer_get() : <a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer.h</a></li>
|
||||
<li>json_pointer_get_internal() : <a class="el" href="json__pointer__private_8h.html#a0de79c3e3e33f897ba9db340d7372b64">json_pointer_private.h</a></li>
|
||||
<li>json_pointer_getf() : <a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer.h</a></li>
|
||||
<li>json_pointer_set() : <a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer.h</a></li>
|
||||
<li>json_pointer_set_with_array_cb() : <a class="el" href="json__pointer__private_8h.html#a0ac7b6b8de2336f8cd463687d7c148d2">json_pointer_private.h</a></li>
|
||||
<li>json_pointer_setf() : <a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer.h</a></li>
|
||||
<li>json_tokener : <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_ALLOW_TRAILING_CHARS : <a class="el" href="json__tokener_8h.html#aa74428c9cf57655eea5b49feae3f2704">json_tokener.h</a></li>
|
||||
<li>json_tokener_continue : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_DEFAULT_DEPTH : <a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">json_tokener.h</a></li>
|
||||
<li>json_tokener_error : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_depth : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_desc() : <a class="el" href="json__tokener_8h.html#a2c5f8ad4e8884ddcc11f741eac16d435">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_memory : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a23ecf6536cfbfb48781fd7874eef59a0">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_array : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_boolean : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_comment : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_eof : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_null : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_number : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_object_key_name : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_object_key_sep : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_object_value_sep : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_string : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_unexpected : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_parse_utf8_string : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener.h</a></li>
|
||||
<li>json_tokener_error_size : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener.h</a></li>
|
||||
<li>json_tokener_free() : <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener.h</a></li>
|
||||
<li>json_tokener_get_error() : <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener.h</a></li>
|
||||
<li>json_tokener_get_parse_end() : <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener.h</a></li>
|
||||
<li>json_tokener_new() : <a class="el" href="json__tokener_8h.html#aa9ccdfe720ac77f7cbe0951c778b99d1">json_tokener.h</a></li>
|
||||
<li>json_tokener_new_ex() : <a class="el" href="json__tokener_8h.html#a9d9f1b78983dc1c68463f619b68b4563">json_tokener.h</a></li>
|
||||
<li>json_tokener_parse() : <a class="el" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener.h</a></li>
|
||||
<li>json_tokener_parse_ex() : <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener.h</a></li>
|
||||
<li>json_tokener_parse_verbose() : <a class="el" href="json__tokener_8h.html#ab14722dd924b1940f18a3a9def2948c3">json_tokener.h</a></li>
|
||||
<li>json_tokener_reset() : <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener.h</a></li>
|
||||
<li>json_tokener_set_flags() : <a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener.h</a></li>
|
||||
<li>json_tokener_state : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array_add : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array_after_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_array_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_boolean : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment_end : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment_eol : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_comment_start : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_eatws : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_escape_unicode : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_escape_unicode_need_escape : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_escape_unicode_need_u : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_finish : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_inf : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_null : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_number : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field_end : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field_start : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_field_start_after_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_sep : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_value : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_object_value_add : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_start : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_string : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener.h</a></li>
|
||||
<li>json_tokener_state_string_escape : <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_STRICT : <a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">json_tokener.h</a></li>
|
||||
<li>json_tokener_success : <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener.h</a></li>
|
||||
<li>JSON_TOKENER_VALIDATE_UTF8 : <a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">json_tokener.h</a></li>
|
||||
<li>json_type : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_types.h</a></li>
|
||||
<li>json_type_array : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_types.h</a></li>
|
||||
<li>json_type_boolean : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_types.h</a></li>
|
||||
<li>json_type_double : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_types.h</a></li>
|
||||
<li>json_type_int : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_types.h</a></li>
|
||||
<li>json_type_null : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_types.h</a></li>
|
||||
<li>json_type_object : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_types.h</a></li>
|
||||
<li>json_type_string : <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_types.h</a></li>
|
||||
<li>json_type_to_name() : <a class="el" href="json__util_8h.html#a0ff86f1188508b9ce4e774be6a0b2674">json_util.h</a></li>
|
||||
<li>json_util_get_last_err() : <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
83
doc/html/globals_l.html
Normal file
@@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_l" name="index_l"></a>- l -</h3><ul>
|
||||
<li>LH_EMPTY : <a class="el" href="linkhash_8h.html#a93fad7f8ae44575dc89c9567859972d2">linkhash.h</a></li>
|
||||
<li>lh_entry_free_fn : <a class="el" href="linkhash_8h.html#a481b0bb1ab1d6a83713d9c27aa9f07d2">linkhash.h</a></li>
|
||||
<li>lh_entry_k() : <a class="el" href="linkhash_8h.html#a1ccddba74d3be7588e11333eda1f20ac">linkhash.h</a></li>
|
||||
<li>lh_entry_k_is_constant() : <a class="el" href="linkhash_8h.html#a724c308f1c606271ea3deb01ed9e3cc9">linkhash.h</a></li>
|
||||
<li>lh_entry_next() : <a class="el" href="linkhash_8h.html#a3b14a53ba9926b219190105f14d751b0">linkhash.h</a></li>
|
||||
<li>lh_entry_prev() : <a class="el" href="linkhash_8h.html#a51bb82fec8a605cc219f11890e837ef1">linkhash.h</a></li>
|
||||
<li>lh_entry_set_val() : <a class="el" href="linkhash_8h.html#ad94e87a8ef92ee6371e5314b7241e635">linkhash.h</a></li>
|
||||
<li>lh_entry_v() : <a class="el" href="linkhash_8h.html#abbbcaaaad12ca6bcaebe2cd1437f17a0">linkhash.h</a></li>
|
||||
<li>lh_equal_fn : <a class="el" href="linkhash_8h.html#af74a0690267598a0ed6f0a9b66674573">linkhash.h</a></li>
|
||||
<li>lh_foreach : <a class="el" href="linkhash_8h.html#ad7dd67da915065dce2c6f44cb03e2d82">linkhash.h</a></li>
|
||||
<li>lh_foreach_safe : <a class="el" href="linkhash_8h.html#abcbb0df08b4976d0649b826b6bacfca1">linkhash.h</a></li>
|
||||
<li>LH_FREED : <a class="el" href="linkhash_8h.html#ac69428f2de0a6fb080b6fb373d506aa7">linkhash.h</a></li>
|
||||
<li>lh_get_hash() : <a class="el" href="linkhash_8h.html#a33c74c884530d407d0b3baa365238fb4">linkhash.h</a></li>
|
||||
<li>lh_hash_fn : <a class="el" href="linkhash_8h.html#a91d16eb45069d235a198d2184a77d0ae">linkhash.h</a></li>
|
||||
<li>lh_kchar_table_new() : <a class="el" href="linkhash_8h.html#add631744a85cad9ffa0e37d86b8d2baa">linkhash.h</a></li>
|
||||
<li>lh_kptr_table_new() : <a class="el" href="linkhash_8h.html#a870ed3dfc78d586638f0cd62103b5f87">linkhash.h</a></li>
|
||||
<li>LH_LOAD_FACTOR : <a class="el" href="linkhash_8h.html#a66b61772c29d85eb52b697e0b0dc0aaf">linkhash.h</a></li>
|
||||
<li>LH_PRIME : <a class="el" href="linkhash_8h.html#a032f1bd115df254dda325437203ce5fb">linkhash.h</a></li>
|
||||
<li>lh_table : <a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">linkhash.h</a></li>
|
||||
<li>lh_table_delete() : <a class="el" href="linkhash_8h.html#a2fed2c78f70d229edb2d00775ffe593c">linkhash.h</a></li>
|
||||
<li>lh_table_delete_entry() : <a class="el" href="linkhash_8h.html#ae5885a71c3457190fb1dc2d6e20dde3b">linkhash.h</a></li>
|
||||
<li>lh_table_free() : <a class="el" href="linkhash_8h.html#a81653acf740cf8c9fe672e6cd16df0cf">linkhash.h</a></li>
|
||||
<li>lh_table_head() : <a class="el" href="linkhash_8h.html#a37bd2f8ccaea39278a13b6eaada657d7">linkhash.h</a></li>
|
||||
<li>lh_table_insert() : <a class="el" href="linkhash_8h.html#a86c0cd547be1e2c2486a73bd58e1352c">linkhash.h</a></li>
|
||||
<li>lh_table_insert_w_hash() : <a class="el" href="linkhash_8h.html#a4558a9347a422e03a15b0b7a29b82dc3">linkhash.h</a></li>
|
||||
<li>lh_table_length() : <a class="el" href="linkhash_8h.html#ac9ba631c91fe80fb905f04c7cd526f2b">linkhash.h</a></li>
|
||||
<li>lh_table_lookup_entry() : <a class="el" href="linkhash_8h.html#af50f3232ebc21425baaebeb8416f530c">linkhash.h</a></li>
|
||||
<li>lh_table_lookup_entry_w_hash() : <a class="el" href="linkhash_8h.html#a068fcae8ec29b6357ca721b6971e8cc6">linkhash.h</a></li>
|
||||
<li>lh_table_lookup_ex() : <a class="el" href="linkhash_8h.html#a81c270bb0dd9d5c8a3e7ae20bc4d67f3">linkhash.h</a></li>
|
||||
<li>lh_table_new() : <a class="el" href="linkhash_8h.html#a3f1d754f41d1ff89c45a552472e3a671">linkhash.h</a></li>
|
||||
<li>lh_table_resize() : <a class="el" href="linkhash_8h.html#a30c8414e31aeee7669acc938116d933f">linkhash.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
63
doc/html/globals_p.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
|
||||
<li>PRId64 : <a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">json_inttypes.h</a></li>
|
||||
<li>printbuf : <a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf.h</a></li>
|
||||
<li>printbuf_free() : <a class="el" href="printbuf_8h.html#a2b744266191ef5e3102fbf910e790a98">printbuf.h</a></li>
|
||||
<li>printbuf_length : <a class="el" href="printbuf_8h.html#acdd84ad88987c0166b7ba0e3f1f8f1bb">printbuf.h</a></li>
|
||||
<li>printbuf_memappend() : <a class="el" href="printbuf_8h.html#a9c193d30e9ca4936ea28a6c9e8e4f6f0">printbuf.h</a></li>
|
||||
<li>printbuf_memappend_fast : <a class="el" href="printbuf_8h.html#a6f3a4dc87fab41c37e3eff42f40dc346">printbuf.h</a></li>
|
||||
<li>printbuf_memset() : <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf.h</a></li>
|
||||
<li>printbuf_new() : <a class="el" href="printbuf_8h.html#a569dcc73d06828580ab6d9034bf78fea">printbuf.h</a></li>
|
||||
<li>printbuf_reset() : <a class="el" href="printbuf_8h.html#a705c62167df13e65e04de9ae60f6e136">printbuf.h</a></li>
|
||||
<li>printbuf_strappend : <a class="el" href="printbuf_8h.html#a2f30492682f5fbc59a8749b428e0e4ba">printbuf.h</a></li>
|
||||
<li>PRIu64 : <a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">json_inttypes.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
54
doc/html/globals_s.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
|
||||
<li>SCNd64 : <a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">json_inttypes.h</a></li>
|
||||
<li>sprintbuf() : <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">printbuf.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
71
doc/html/globals_type.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>array_list : <a class="el" href="arraylist_8h.html#a6d6d32d8b026ea2025df519b9e90f44a">arraylist.h</a></li>
|
||||
<li>array_list_free_fn : <a class="el" href="arraylist_8h.html#a90d2ce204a483fa38f5514bad67222aa">arraylist.h</a></li>
|
||||
<li>int32_t : <a class="el" href="json__inttypes_8h.html#a37994e3b11c72957c6f454c6ec96d43d">json_inttypes.h</a></li>
|
||||
<li>int64_t : <a class="el" href="json__inttypes_8h.html#a67a9885ef4908cb72ce26d75b694386c">json_inttypes.h</a></li>
|
||||
<li>json_bool : <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_types.h</a></li>
|
||||
<li>json_c_shallow_copy_fn : <a class="el" href="json__object_8h.html#acfbe0648eb909870e346df0bb42e81e1">json_object.h</a></li>
|
||||
<li>json_c_visit_userfunc : <a class="el" href="json__visit_8h.html#a9e5b550cfae3f9cecd7a95b2cae336e0">json_visit.h</a></li>
|
||||
<li>json_object : <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_types.h</a></li>
|
||||
<li>json_object_delete_fn : <a class="el" href="json__types_8h.html#a57e58c272b899b7034c3b5137935117f">json_types.h</a></li>
|
||||
<li>json_object_iter : <a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_types.h</a></li>
|
||||
<li>json_object_to_json_string_fn : <a class="el" href="json__types_8h.html#ad689953451ffa828830d349f4cd72563">json_types.h</a></li>
|
||||
<li>json_pointer_array_set_cb : <a class="el" href="json__pointer__private_8h.html#a26be669fffee1f771c28cd932237e5aa">json_pointer_private.h</a></li>
|
||||
<li>json_tokener : <a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener.h</a></li>
|
||||
<li>json_type : <a class="el" href="json__types_8h.html#a4cd367452127a72e92e1c2ae8d1834df">json_types.h</a></li>
|
||||
<li>lh_entry_free_fn : <a class="el" href="linkhash_8h.html#a481b0bb1ab1d6a83713d9c27aa9f07d2">linkhash.h</a></li>
|
||||
<li>lh_equal_fn : <a class="el" href="linkhash_8h.html#af74a0690267598a0ed6f0a9b66674573">linkhash.h</a></li>
|
||||
<li>lh_hash_fn : <a class="el" href="linkhash_8h.html#a91d16eb45069d235a198d2184a77d0ae">linkhash.h</a></li>
|
||||
<li>lh_table : <a class="el" href="linkhash_8h.html#a766e90057496fc6712d6be0da180a21f">linkhash.h</a></li>
|
||||
<li>printbuf : <a class="el" href="printbuf_8h.html#ace274df280df67463ff417b1b3392395">printbuf.h</a></li>
|
||||
<li>uint32_t : <a class="el" href="json__inttypes_8h.html#a6eb1e68cc391dd753bc8ce896dbb8315">json_inttypes.h</a></li>
|
||||
<li>uint64_t : <a class="el" href="json__inttypes_8h.html#aec6fcb673ff035718c238c8c9d544c47">json_inttypes.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
54
doc/html/globals_u.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to:</div>
|
||||
|
||||
<h3><a id="index_u" name="index_u"></a>- u -</h3><ul>
|
||||
<li>uint32_t : <a class="el" href="json__inttypes_8h.html#a6eb1e68cc391dd753bc8ce896dbb8315">json_inttypes.h</a></li>
|
||||
<li>uint64_t : <a class="el" href="json__inttypes_8h.html#aec6fcb673ff035718c238c8c9d544c47">json_inttypes.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
53
doc/html/globals_vars.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: Globals</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>json_c_shallow_copy_default : <a class="el" href="json__object_8h.html#a86ea08e75ddf054742bf806a3bc3f983">json_object.h</a></li>
|
||||
<li>json_object_free_userdata : <a class="el" href="json__object_8h.html#aff3190c34884bea3b4e65e286b973d89">json_object.h</a></li>
|
||||
<li>json_object_userdata_to_json_string : <a class="el" href="json__object_8h.html#a56091ddbd2ec6d6200558cbeff1b86b8">json_object.h</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
284
doc/html/index.html
Normal file
@@ -0,0 +1,284 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json-c</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">json-c </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><h1><a class="anchor" id="autotoc_md0"></a>
|
||||
json-c</h1>
|
||||
<ol type="1">
|
||||
<li><a class="el" href="index.html#overview">Overview and Build Status</a></li>
|
||||
<li><a class="el" href="index.html#gettinghelp">Getting Help</a></li>
|
||||
<li><a class="el" href="index.html#buildunix">Building on Unix</a><ul>
|
||||
<li><a class="el" href="index.html#installprereq">Prerequisites</a></li>
|
||||
<li><a class="el" href="index.html#buildcmds">Build commands</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="el" href="index.html#CMake">CMake options</a></li>
|
||||
<li><a class="el" href="index.html#testing">Testing</a></li>
|
||||
<li><a class="el" href="index.html#buildvcpkg">Building with `vcpkg`</a></li>
|
||||
<li><a class="el" href="index.html#android">Building for Android</a></li>
|
||||
</ol>
|
||||
<ol type="1">
|
||||
<li><a class="el" href="index.html#linking">Linking to libjson-c</a></li>
|
||||
<li><a class="el" href="index.html#using">Using json-c</a></li>
|
||||
</ol>
|
||||
<p ><a class="anchor" id="overview"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md1"></a>
|
||||
JSON-C - A JSON implementation in C</h2>
|
||||
<p >JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects. It aims to conform to <a href="https://www.rfc-editor.org/rfc/rfc8259">RFC 8259</a>.</p>
|
||||
<p >Skip down to <a class="el" href="index.html#using">Using json-c</a> or check out the <a href="https://json-c.github.io/json-c/">API docs</a>, if you already have json-c installed and ready to use.</p>
|
||||
<p >Home page for json-c: <a href="https://github.com/json-c/json-c/wiki">https://github.com/json-c/json-c/wiki</a></p>
|
||||
<p ><a class="anchor" id="gettinghelp"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md2"></a>
|
||||
Getting Help</h2>
|
||||
<p >If you have questions about using json-c, please start a thread on our forums at: <a href="https://groups.google.com/forum/#!forum/json-c">https://groups.google.com/forum/#!forum/json-c</a></p>
|
||||
<p >If you believe you've discovered a bug, report it at (<a href="https://github.com/json-c/json-c/issues">https://github.com/json-c/json-c/issues</a>). Please be sure to include the version of json-c you're using, the OS you're running on, and any other relevant details. Fully reproducible test cases and/or patches to fix problems are greatly appreciated.</p>
|
||||
<p >Fixes for bugs, or small new features can be directly submitted as a <a href="https://github.com/json-c/json-c/pulls">pull request</a>. For major new features or large changes of any kind, please first start a discussion on the <a href="https://groups.google.com/forum/#!forum/json-c">forums</a>.</p>
|
||||
<p ><a class="anchor" id="buildunix"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md3"></a>
|
||||
Building on Unix with <tt>git</tt>, <tt>gcc</tt> and <tt>cmake</tt></h2>
|
||||
<p >If you already have json-c installed, see <a class="el" href="index.html#linking">Linking to `libjson-c`</a> for how to build and link your program against it.</p>
|
||||
<p >Build Status</p><ul>
|
||||
<li><a href="https://ci.appveyor.com/project/hawicz/json-c">AppVeyor Build</a> <img src="https://ci.appveyor.com/api/projects/status/github/json-c/json-c?branch=master&svg=true" alt="AppVeyor Build Status" class="inline"/></li>
|
||||
<li><a href="https://app.travis-ci.com/github/json-c/json-c">Travis Build</a> <img src="https://api.travis-ci.com/json-c/json-c.svg?branch=master" alt="Travis Build Status" style="pointer-events: none;" class="inline"/></li>
|
||||
</ul>
|
||||
<p >Test Status</p><ul>
|
||||
<li><a href="https://coveralls.io/github/json-c/json-c?branch=master">Coveralls</a> <a href="https://coveralls.io/github/json-c/json-c?branch=master"><img src="https://coveralls.io/repos/github/json-c/json-c/badge.svg?branch=master" alt="Coverage Status" style="pointer-events: none;" class="inline"/></a></li>
|
||||
</ul>
|
||||
<p ><a class="anchor" id="installprereq"></a> </p>
|
||||
<h3><a class="anchor" id="autotoc_md4"></a>
|
||||
Prerequisites:</h3>
|
||||
<ul>
|
||||
<li><code>gcc</code>, <code>clang</code>, or another C compiler</li>
|
||||
<li><code>cmake>=2.8</code>, <code>>=3.16</code> recommended, <code>cmake=>3.1</code> for tests</li>
|
||||
</ul>
|
||||
<p >To generate docs you'll also need:</p><ul>
|
||||
<li><code>doxygen>=1.8.13</code></li>
|
||||
</ul>
|
||||
<p >If you are on a relatively modern system, you'll likely be able to install the prerequisites using your OS's packaging system.</p>
|
||||
<h3><a class="anchor" id="autotoc_md5"></a>
|
||||
Install using apt (e.g. Ubuntu 16.04.2 LTS)</h3>
|
||||
<pre class="fragment">sudo apt install git
|
||||
sudo apt install cmake
|
||||
sudo apt install doxygen # optional
|
||||
sudo apt install valgrind # optional
|
||||
</pre><p ><a class="anchor" id="buildcmds"></a> </p>
|
||||
<h3><a class="anchor" id="autotoc_md6"></a>
|
||||
Build instructions:</h3>
|
||||
<p ><code>json-c</code> GitHub repo: <a href="https://github.com/json-c/json-c">https://github.com/json-c/json-c</a></p>
|
||||
<pre class="fragment">$ git clone https://github.com/json-c/json-c.git
|
||||
$ mkdir json-c-build
|
||||
$ cd json-c-build
|
||||
$ cmake ../json-c # See CMake section below for custom arguments
|
||||
</pre><p >Note: it's also possible to put your build directory inside the json-c source directory, or even not use a separate build directory at all, but certain things might not work quite right (notably, <code>make distcheck</code>)</p>
|
||||
<p >Then:</p>
|
||||
<pre class="fragment">$ make
|
||||
$ make test
|
||||
$ make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||
$ sudo make install # it could be necessary to execute make install
|
||||
</pre><h3><a class="anchor" id="autotoc_md7"></a>
|
||||
Generating documentation with Doxygen:</h3>
|
||||
<p >The library documentation can be generated directly from the source code using Doxygen tool:</p>
|
||||
<pre class="fragment"># in build directory
|
||||
make doc
|
||||
google-chrome doc/html/index.html
|
||||
</pre><p ><a class="anchor" id="CMake"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md8"></a>
|
||||
CMake Options</h2>
|
||||
<p >The json-c library is built with <a href="https://cmake.org/cmake-tutorial/">CMake</a>, which can take a few options.</p>
|
||||
<table class="markdownTable">
|
||||
<tr class="markdownTableHead">
|
||||
<th class="markdownTableHeadNone">Variable </th><th class="markdownTableHeadNone">Type </th><th class="markdownTableHeadNone">Description </th></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">CMAKE_INSTALL_PREFIX </td><td class="markdownTableBodyNone">String </td><td class="markdownTableBodyNone">The install location. </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">CMAKE_BUILD_TYPE </td><td class="markdownTableBodyNone">String </td><td class="markdownTableBodyNone">Defaults to "debug". </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">BUILD_SHARED_LIBS </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">The default build generates a dynamic (dll/so) library. Set this to OFF to create a static library only. </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">BUILD_STATIC_LIBS </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">The default build generates a static (lib/a) library. Set this to OFF to create a shared library only. </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">DISABLE_STATIC_FPIC </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">The default builds position independent code. Set this to OFF to create a shared library only. </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">DISABLE_BSYMBOLIC </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Disable use of -Bsymbolic-functions. </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">DISABLE_THREAD_LOCAL_STORAGE </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Disable use of Thread-Local Storage (HAVE___THREAD). </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">DISABLE_WERROR </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Disable use of -Werror. </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">DISABLE_EXTRA_LIBS </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Disable use of extra libraries, libbsd </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">DISABLE_JSON_POINTER </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Omit json_pointer support from the build. </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">ENABLE_RDRAND </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Enable RDRAND Hardware RNG Hash Seed. </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">ENABLE_THREADING </td><td class="markdownTableBodyNone">Bool </td><td class="markdownTableBodyNone">Enable partial threading support. </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">OVERRIDE_GET_RANDOM_SEED </td><td class="markdownTableBodyNone">String </td><td class="markdownTableBodyNone">A block of code to use instead of the default implementation of json_c_get_random_seed(), e.g. on embedded platforms where not even the fallback to time() works. Must be a single line. </td></tr>
|
||||
</table>
|
||||
<p >Pass these options as <code>-D</code> on CMake's command-line.</p>
|
||||
<pre class="fragment"># build a static library only
|
||||
cmake -DBUILD_SHARED_LIBS=OFF ..
|
||||
</pre><h3><a class="anchor" id="autotoc_md9"></a>
|
||||
Building with partial threading support</h3>
|
||||
<p >Although json-c does not support fully multi-threaded access to object trees, it has some code to help make its use in threaded programs a bit safer. Currently, this is limited to using atomic operations for <a class="el" href="json__object_8h.html#ac5bbb5364ee14d645ac7b6e169a9d74b">json_object_get()</a> and <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>.</p>
|
||||
<p >Since this may have a performance impact, of at least 3x slower according to <a href="https://stackoverflow.com/a/11609063">https://stackoverflow.com/a/11609063</a>, it is disabled by default. You may turn it on by adjusting your cmake command with: -DENABLE_THREADING=ON</p>
|
||||
<p >Separately, the default hash function used for object field keys, lh_char_hash, uses a compare-and-swap operation to ensure the random seed is only generated once. Because this is a one-time operation, it is always compiled in when the compare-and-swap operation is available.</p>
|
||||
<h3><a class="anchor" id="autotoc_md10"></a>
|
||||
cmake-configure wrapper script</h3>
|
||||
<p >For those familiar with the old autoconf/autogen.sh/configure method, there is a <code>cmake-configure</code> wrapper script to ease the transition to cmake.</p>
|
||||
<pre class="fragment">mkdir build
|
||||
cd build
|
||||
../cmake-configure --prefix=/some/install/path
|
||||
make
|
||||
</pre><p >cmake-configure can take a few options.</p>
|
||||
<table class="markdownTable">
|
||||
<tr class="markdownTableHead">
|
||||
<th class="markdownTableHeadNone">options </th><th class="markdownTableHeadNone">Description </th></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">prefix=PREFIX </td><td class="markdownTableBodyNone">install architecture-independent files in PREFIX </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">enable-threading </td><td class="markdownTableBodyNone">Enable code to support partly multi-threaded use </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">enable-rdrand </td><td class="markdownTableBodyNone">Enable RDRAND Hardware RNG Hash Seed generation on supported x86/x64 platforms. </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">enable-shared </td><td class="markdownTableBodyNone">build shared libraries [default=yes] </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">enable-static </td><td class="markdownTableBodyNone">build static libraries [default=yes] </td></tr>
|
||||
<tr class="markdownTableRowEven">
|
||||
<td class="markdownTableBodyNone">disable-Bsymbolic </td><td class="markdownTableBodyNone">Avoid linking with -Bsymbolic-function </td></tr>
|
||||
<tr class="markdownTableRowOdd">
|
||||
<td class="markdownTableBodyNone">disable-werror </td><td class="markdownTableBodyNone">Avoid treating compiler warnings as fatal errors </td></tr>
|
||||
</table>
|
||||
<p ><a class="anchor" id="testing"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md11"></a>
|
||||
Testing:</h2>
|
||||
<p >By default, if valgrind is available running tests uses it. That can slow the tests down considerably, so to disable it use: </p><pre class="fragment">export USE_VALGRIND=0
|
||||
</pre><p >To run tests a separate build directory is recommended: </p><pre class="fragment">mkdir build-test
|
||||
cd build-test
|
||||
# VALGRIND=1 causes -DVALGRIND=1 to be passed when compiling code
|
||||
# which uses slightly slower, but valgrind-safe code.
|
||||
VALGRIND=1 cmake ..
|
||||
make
|
||||
|
||||
make test
|
||||
# By default, if valgrind is available running tests uses it.
|
||||
make USE_VALGRIND=0 test # optionally skip using valgrind
|
||||
</pre><p >If a test fails, check <code>Testing/Temporary/LastTest.log</code>, <code>tests/testSubDir/${testname}/${testname}.vg.out</code>, and other similar files. If there is insufficient output try: </p><pre class="fragment">VERBOSE=1 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
</pre><p> or </p><pre class="fragment">JSONC_TEST_TRACE=1 make test
|
||||
</pre><p> and check the log files again.</p>
|
||||
<p ><a class="anchor" id="buildvcpkg"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md12"></a>
|
||||
Building on Unix and Windows with <tt>vcpkg</tt></h2>
|
||||
<p >You can download and install JSON-C using the <a href="https://github.com/Microsoft/vcpkg/">vcpkg</a> dependency manager: </p><pre class="fragment">git clone https://github.com/Microsoft/vcpkg.git
|
||||
cd vcpkg
|
||||
./bootstrap-vcpkg.sh
|
||||
./vcpkg integrate install
|
||||
vcpkg install json-c
|
||||
</pre><p> The JSON-C port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please <a href="https://github.com/Microsoft/vcpkg">create an issue or pull request</a> on the vcpkg repository.</p>
|
||||
<p ><a class="anchor" id="android"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md13"></a>
|
||||
Building for Android</h2>
|
||||
<p >Building on Android is now particularly well supported, but there have been some reports of success using <a href="https://developer.android.com/ndk/guides/cmake">https://developer.android.com/ndk/guides/cmake</a></p>
|
||||
<pre class="fragment">mkdir json-c-build
|
||||
cd json-c-build/
|
||||
export NDK_HOME=~/Library/Android/sdk/ndk/22.1.7171670/
|
||||
cmake \
|
||||
--toolchain=$NDK_HOME/build/cmake/android.toolchain.cmake \
|
||||
-DANDROID_STL=none \
|
||||
-DANDROID_ABI=arm64-v8a \
|
||||
-DANDROID_PLATFORM=android-29 \
|
||||
-DANDROID_LD=lld \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DCMAKE_INSTALL_PREFIX=<install prefix> \
|
||||
-DENABLE_THREADING=true \
|
||||
..
|
||||
make install
|
||||
</pre><p ><a class="anchor" id="linking"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md14"></a>
|
||||
Linking to <tt>libjson-c</tt></h2>
|
||||
<p >If your system has <code>pkgconfig</code>, then you can just add this to your <code>makefile</code>:</p>
|
||||
<pre class="fragment">CFLAGS += $(shell pkg-config --cflags json-c)
|
||||
LDFLAGS += $(shell pkg-config --libs json-c)
|
||||
</pre><p >Without <code>pkgconfig</code>, you might do something like this:</p>
|
||||
<pre class="fragment">JSON_C_DIR=/path/to/json_c/install
|
||||
CFLAGS += -I$(JSON_C_DIR)/include/json-c
|
||||
# Or to use lines like: #include <json-c/json_object.h>
|
||||
#CFLAGS += -I$(JSON_C_DIR)/include
|
||||
LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
|
||||
</pre><p >If your project uses cmake:</p>
|
||||
<ul>
|
||||
<li>Add to your CMakeLists.txt file:</li>
|
||||
</ul>
|
||||
<pre class="fragment">find_package(json-c CONFIG)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE json-c::json-c)
|
||||
</pre><ul>
|
||||
<li>Then you might run in your project:</li>
|
||||
</ul>
|
||||
<pre class="fragment">cd build
|
||||
cmake -DCMAKE_PREFIX_PATH=/path/to/json_c/install/lib64/cmake ..
|
||||
</pre><p ><a class="anchor" id="using"></a> </p>
|
||||
<h2><a class="anchor" id="autotoc_md15"></a>
|
||||
Using json-c</h2>
|
||||
<p >To use json-c you can either include <a class="el" href="json_8h.html" title="A convenience header that may be included instead of other individual ones.">json.h</a>, or preferably, one of the following more specific header files:</p>
|
||||
<ul>
|
||||
<li><a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a> - Core types and methods.</li>
|
||||
<li><a class="el" href="json__tokener_8h.html" title="Methods to parse an input string into a tree of json_object objects.">json_tokener.h</a> - Methods for parsing and serializing json-c object trees.</li>
|
||||
<li><a class="el" href="json__pointer_8h.html" title="JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.">json_pointer.h</a> - JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.</li>
|
||||
<li><a class="el" href="json__object__iterator_8h.html" title="An API for iterating over json_type_object objects, styled to be familiar to C++ programmers....">json_object_iterator.h</a> - Methods for iterating over single json_object instances. (See also <code><a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a></code> in <a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a>)</li>
|
||||
<li><a class="el" href="json__visit_8h.html" title="Methods for walking a tree of objects.">json_visit.h</a> - Methods for walking a tree of json-c objects.</li>
|
||||
<li><a class="el" href="json__util_8h.html" title="Miscllaneous utility functions and macros.">json_util.h</a> - Miscellaneous utility functions.</li>
|
||||
</ul>
|
||||
<p >For a full list of headers see <a href="https://json-c.github.io/json-c/json-c-current-release/doc/html/files.html">files.html</a></p>
|
||||
<p >The primary type in json-c is json_object. It describes a reference counted tree of json objects which are created by either parsing text with a <a class="el" href="structjson__tokener.html">json_tokener</a> (i.e. <code><a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a></code>), or by creating (with <code><a class="el" href="json__object_8h.html#a514cf1a819b82dba0c1236695cdedd1e">json_object_new_object()</a></code>, <code><a class="el" href="json__object_8h.html#a1a948f2bb24d91408212c12c2791dcaa">json_object_new_int()</a></code>, etc...) and adding (with <code><a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a></code>, <code><a class="el" href="json__object_8h.html#a18cdd9a7455e09f36cdf6e5756b7f586">json_object_array_add()</a></code>, etc...) them individually. Typically, every object in the tree will have one reference, from its parent. When you are done with the tree of objects, you call <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> on just the root object to free it, which recurses down through any child objects calling <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> on each one of those in turn.</p>
|
||||
<p >You can get a reference to a single child (<code><a class="el" href="json__object_8h.html#af7a569d69c3b90e79af7ef21e557e402">json_object_object_get()</a></code> or <code><a class="el" href="json__object_8h.html#af229a1625af2aae7116a0bd6fb1e5ad2">json_object_array_get_idx()</a></code>) and use that object as long as its parent is valid. <br />
|
||||
If you need a child object to live longer than its parent, you can increment the child's refcount (<code><a class="el" href="json__object_8h.html#ac5bbb5364ee14d645ac7b6e169a9d74b">json_object_get()</a></code>) to allow it to survive the parent being freed or it being removed from its parent (<code><a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object_object_del()</a></code> or <code><a class="el" href="json__object_8h.html#a722eca9f578704d3af38b97549242c1f">json_object_array_del_idx()</a></code>)</p>
|
||||
<p >When parsing text, the <a class="el" href="structjson__tokener.html">json_tokener</a> object is independent from the json_object that it returns. It can be allocated (<code><a class="el" href="json__tokener_8h.html#aa9ccdfe720ac77f7cbe0951c778b99d1">json_tokener_new()</a></code>) used one or multiple times (<code><a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a></code>, and freed (<code><a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free()</a></code>) while the json_object objects live on.</p>
|
||||
<p >A json_object tree can be serialized back into a string with <code><a class="el" href="json__object_8h.html#a47fe3e7980dc81a1d7f2ab303870789e">json_object_to_json_string_ext()</a></code>. The string that is returned is only valid until the next "to_json_string" call on that same object. Also, it is freed when the json_object is freed. </p>
|
||||
</div></div><!-- PageDoc -->
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
51
doc/html/issues__closed__for__0_813_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.13.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.13.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
51
doc/html/issues__closed__for__0_814_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.14.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.14.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
51
doc/html/issues__closed__for__0_815_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.15.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.15.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
51
doc/html/issues__closed__for__0_816_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.16.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.16.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
51
doc/html/issues__closed__for__0_817_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.17.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.17.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
51
doc/html/issues__closed__for__0_818_8md.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.18.md File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.18.md File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
35
doc/html/jquery.js
vendored
Normal file
60
doc/html/json_8h.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: /home/erh/distcheck/json.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_b62156a74b5a818be0c2ef9f85294b95.html">distcheck</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">json.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>A convenience header that may be included instead of other individual ones.
|
||||
<a href="#details">More...</a></p>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >A convenience header that may be included instead of other individual ones. </p>
|
||||
</div></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
209
doc/html/json__c__version_8h.html
Normal file
@@ -0,0 +1,209 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_c_version.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_c_version.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Methods for retrieving the json-c version.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a251c3e1f59a379a4a905382b4e855125"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a>   0</td></tr>
|
||||
<tr class="separator:a251c3e1f59a379a4a905382b4e855125"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a>   18</td></tr>
|
||||
<tr class="separator:adc87477fbc1c75848fe6b6feec21c2d6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a64457730097067ab096906d82e4a51a6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>   0</td></tr>
|
||||
<tr class="separator:a64457730097067ab096906d82e4a51a6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a>    ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td></tr>
|
||||
<tr class="separator:a78e176eee75ee6aed43c4d65ca4c5b44"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a>   "0.18"</td></tr>
|
||||
<tr class="separator:a894adda66a072bc3fd34ebe91a5aa7f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:aec6c6eee13d5dd942f9026fb5f3f21ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#aec6c6eee13d5dd942f9026fb5f3f21ff">json_c_version</a> (void)</td></tr>
|
||||
<tr class="separator:aec6c6eee13d5dd942f9026fb5f3f21ff"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a860ee32b09f4faf38d73771a6ed193ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__c__version_8h.html#a860ee32b09f4faf38d73771a6ed193ed">json_c_version_num</a> (void)</td></tr>
|
||||
<tr class="separator:a860ee32b09f4faf38d73771a6ed193ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Methods for retrieving the json-c version. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a251c3e1f59a379a4a905382b4e855125" name="a251c3e1f59a379a4a905382b4e855125"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a251c3e1f59a379a4a905382b4e855125">◆ </a></span>JSON_C_MAJOR_VERSION</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_MAJOR_VERSION   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a64457730097067ab096906d82e4a51a6" name="a64457730097067ab096906d82e4a51a6"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a64457730097067ab096906d82e4a51a6">◆ </a></span>JSON_C_MICRO_VERSION</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_MICRO_VERSION   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="adc87477fbc1c75848fe6b6feec21c2d6" name="adc87477fbc1c75848fe6b6feec21c2d6"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adc87477fbc1c75848fe6b6feec21c2d6">◆ </a></span>JSON_C_MINOR_VERSION</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_MINOR_VERSION   18</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a894adda66a072bc3fd34ebe91a5aa7f4" name="a894adda66a072bc3fd34ebe91a5aa7f4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a894adda66a072bc3fd34ebe91a5aa7f4">◆ </a></span>JSON_C_VERSION</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VERSION   "0.18"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a78e176eee75ee6aed43c4d65ca4c5b44" name="a78e176eee75ee6aed43c4d65ca4c5b44"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a78e176eee75ee6aed43c4d65ca4c5b44">◆ </a></span>JSON_C_VERSION_NUM</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VERSION_NUM    ((<a class="el" href="json__c__version_8h.html#a251c3e1f59a379a4a905382b4e855125">JSON_C_MAJOR_VERSION</a> << 16) | (<a class="el" href="json__c__version_8h.html#adc87477fbc1c75848fe6b6feec21c2d6">JSON_C_MINOR_VERSION</a> << 8) | <a class="el" href="json__c__version_8h.html#a64457730097067ab096906d82e4a51a6">JSON_C_MICRO_VERSION</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a2a31d5c00f3a4712f2d5d62aee66344e" name="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2a31d5c00f3a4712f2d5d62aee66344e">◆ </a></span>JSON_EXPORT</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="aec6c6eee13d5dd942f9026fb5f3f21ff" name="aec6c6eee13d5dd942f9026fb5f3f21ff"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aec6c6eee13d5dd942f9026fb5f3f21ff">◆ </a></span>json_c_version()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * json_c_version </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="json__c__version_8h.html#a894adda66a072bc3fd34ebe91a5aa7f4">JSON_C_VERSION</a> </dd></dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as a string </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a860ee32b09f4faf38d73771a6ed193ed" name="a860ee32b09f4faf38d73771a6ed193ed"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a860ee32b09f4faf38d73771a6ed193ed">◆ </a></span>json_c_version_num()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_version_num </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >The json-c version encoded into an int, with the low order 8 bits being the micro version, the next higher 8 bits being the minor version and the next higher 8 bits being the major version. For example, 7.12.99 would be 0x00070B63.</p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="json__c__version_8h.html#a78e176eee75ee6aed43c4d65ca4c5b44">JSON_C_VERSION_NUM</a> </dd></dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>the version of the json-c library as an int </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
180
doc/html/json__inttypes_8h.html
Normal file
@@ -0,0 +1,180 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_inttypes.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#typedef-members">Typedefs</a> </div>
|
||||
<div class="headertitle"><div class="title">json_inttypes.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ae372e90b62c1e8b51dc5d95bf7f5ba48"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ae372e90b62c1e8b51dc5d95bf7f5ba48">PRId64</a>   "I64d"</td></tr>
|
||||
<tr class="separator:ae372e90b62c1e8b51dc5d95bf7f5ba48"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae7044b3fb4cc5cde22155d59437c348f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ae7044b3fb4cc5cde22155d59437c348f">SCNd64</a>   "I64d"</td></tr>
|
||||
<tr class="separator:ae7044b3fb4cc5cde22155d59437c348f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#ac582131d7a7c8ee57e73180d1714f9d5">PRIu64</a>   "I64u"</td></tr>
|
||||
<tr class="separator:ac582131d7a7c8ee57e73180d1714f9d5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:a37994e3b11c72957c6f454c6ec96d43d"><td class="memItemLeft" align="right" valign="top">typedef __int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#a37994e3b11c72957c6f454c6ec96d43d">int32_t</a></td></tr>
|
||||
<tr class="separator:a37994e3b11c72957c6f454c6ec96d43d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6eb1e68cc391dd753bc8ce896dbb8315"><td class="memItemLeft" align="right" valign="top">typedef unsigned __int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#a6eb1e68cc391dd753bc8ce896dbb8315">uint32_t</a></td></tr>
|
||||
<tr class="separator:a6eb1e68cc391dd753bc8ce896dbb8315"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a67a9885ef4908cb72ce26d75b694386c"><td class="memItemLeft" align="right" valign="top">typedef __int64 </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#a67a9885ef4908cb72ce26d75b694386c">int64_t</a></td></tr>
|
||||
<tr class="separator:a67a9885ef4908cb72ce26d75b694386c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aec6fcb673ff035718c238c8c9d544c47"><td class="memItemLeft" align="right" valign="top">typedef unsigned __int64 </td><td class="memItemRight" valign="bottom"><a class="el" href="json__inttypes_8h.html#aec6fcb673ff035718c238c8c9d544c47">uint64_t</a></td></tr>
|
||||
<tr class="separator:aec6fcb673ff035718c238c8c9d544c47"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="ae372e90b62c1e8b51dc5d95bf7f5ba48" name="ae372e90b62c1e8b51dc5d95bf7f5ba48"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae372e90b62c1e8b51dc5d95bf7f5ba48">◆ </a></span>PRId64</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PRId64   "I64d"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac582131d7a7c8ee57e73180d1714f9d5" name="ac582131d7a7c8ee57e73180d1714f9d5"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac582131d7a7c8ee57e73180d1714f9d5">◆ </a></span>PRIu64</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PRIu64   "I64u"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae7044b3fb4cc5cde22155d59437c348f" name="ae7044b3fb4cc5cde22155d59437c348f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae7044b3fb4cc5cde22155d59437c348f">◆ </a></span>SCNd64</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define SCNd64   "I64d"</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a37994e3b11c72957c6f454c6ec96d43d" name="a37994e3b11c72957c6f454c6ec96d43d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a37994e3b11c72957c6f454c6ec96d43d">◆ </a></span>int32_t</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef __int32 <a class="el" href="json__inttypes_8h.html#a37994e3b11c72957c6f454c6ec96d43d">int32_t</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a67a9885ef4908cb72ce26d75b694386c" name="a67a9885ef4908cb72ce26d75b694386c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a67a9885ef4908cb72ce26d75b694386c">◆ </a></span>int64_t</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef __int64 <a class="el" href="json__inttypes_8h.html#a67a9885ef4908cb72ce26d75b694386c">int64_t</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a6eb1e68cc391dd753bc8ce896dbb8315" name="a6eb1e68cc391dd753bc8ce896dbb8315"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6eb1e68cc391dd753bc8ce896dbb8315">◆ </a></span>uint32_t</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef unsigned __int32 <a class="el" href="json__inttypes_8h.html#a6eb1e68cc391dd753bc8ce896dbb8315">uint32_t</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aec6fcb673ff035718c238c8c9d544c47" name="aec6fcb673ff035718c238c8c9d544c47"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aec6fcb673ff035718c238c8c9d544c47">◆ </a></span>uint64_t</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef unsigned __int64 <a class="el" href="json__inttypes_8h.html#aec6fcb673ff035718c238c8c9d544c47">uint64_t</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
2670
doc/html/json__object_8h.html
Normal file
315
doc/html/json__object__iterator_8h.html
Normal file
@@ -0,0 +1,315 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_object_iterator.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Data Structures</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_object_iterator.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Data Structures</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iterator.html">json_object_iterator</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae93958fa755852192553f1686d248cd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a> (void)</td></tr>
|
||||
<tr class="separator:ae93958fa755852192553f1686d248cd1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdcd32f83dd8f20e25669f197fb7bde9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj)</td></tr>
|
||||
<tr class="separator:afdcd32f83dd8f20e25669f197fb7bde9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a381fbae848a3268013110002d553c32e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a> (const struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj)</td></tr>
|
||||
<tr class="separator:a381fbae848a3268013110002d553c32e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8a152d153844f1ec1698419abae8c2e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a> (struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||
<tr class="separator:a8a152d153844f1ec1698419abae8c2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac0b1cb5e3f4b04664ae9f18a61548633"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#ac0b1cb5e3f4b04664ae9f18a61548633">json_object_iter_peek_name</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||
<tr class="separator:ac0b1cb5e3f4b04664ae9f18a61548633"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a90f8938ea175a9213713688f18c3116a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a90f8938ea175a9213713688f18c3116a">json_object_iter_peek_value</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter)</td></tr>
|
||||
<tr class="separator:a90f8938ea175a9213713688f18c3116a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9cbb250d185348e8b193a886c35ae39e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a> (const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter1, const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> *iter2)</td></tr>
|
||||
<tr class="separator:a9cbb250d185348e8b193a886c35ae39e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >An API for iterating over json_type_object objects, styled to be familiar to C++ programmers. Unlike <a class="el" href="json__object_8h.html#acf5f514a9e0061c10fc08055762639ee">json_object_object_foreach()</a> and <a class="el" href="json__object_8h.html#a71f07006c12d78f7bbf4cb716a5af3a6">json_object_object_foreachC()</a>, this avoids the need to expose json-c internals like <a class="el" href="structlh__entry.html">lh_entry</a>. </p>
|
||||
<p >Copyright (c) 2009-2012 Hewlett-Packard Development Company, L.P.</p>
|
||||
<p >This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See COPYING for details.</p>
|
||||
<p >API attributes: <br />
|
||||
</p><ul>
|
||||
<li>Thread-safe: NO<br />
|
||||
</li>
|
||||
<li>Reentrant: NO </li>
|
||||
</ul>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="afdcd32f83dd8f20e25669f197fb7bde9" name="afdcd32f83dd8f20e25669f197fb7bde9"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afdcd32f83dd8f20e25669f197fb7bde9">◆ </a></span>json_object_iter_begin()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_begin </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Retrieves an iterator to the first pair of the JSON Object.</p>
|
||||
<dl class="section warning"><dt>Warning</dt><dd>Any modification of the underlying pair invalidates all iterators to that pair.</dd></dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type json_object)</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> If the JSON Object has at least one pair, on return, the iterator refers to the first pair. If the JSON Object doesn't have any pairs, the returned iterator is equivalent to the "end" iterator for the same JSON Object instance.</dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code hl_struct" href="structjson__object__iterator.html">json_object_iterator</a> it;</div>
|
||||
<div class="line"><span class="keyword">struct </span><a class="code hl_struct" href="structjson__object__iterator.html">json_object_iterator</a> itEnd;</div>
|
||||
<div class="line"><span class="keyword">struct </span><a class="code hl_typedef" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a>* obj;</div>
|
||||
<div class="line"> </div>
|
||||
<div class="line">obj = <a class="code hl_function" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener_parse</a>(<span class="stringliteral">"{'first':'george', 'age':100}"</span>);</div>
|
||||
<div class="line">it = <a class="code hl_function" href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a>(obj);</div>
|
||||
<div class="line">itEnd = <a class="code hl_function" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a>(obj);</div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="keywordflow">while</span> (!<a class="code hl_function" href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a>(&it, &itEnd)) {</div>
|
||||
<div class="line"> printf(<span class="stringliteral">"%s\n"</span>,</div>
|
||||
<div class="line"> <a class="code hl_function" href="json__object__iterator_8h.html#ac0b1cb5e3f4b04664ae9f18a61548633">json_object_iter_peek_name</a>(&it));</div>
|
||||
<div class="line"> <a class="code hl_function" href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a>(&it);</div>
|
||||
<div class="line">}</div>
|
||||
<div class="ttc" id="ajson__object__iterator_8h_html_a381fbae848a3268013110002d553c32e"><div class="ttname"><a href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end</a></div><div class="ttdeci">JSON_EXPORT struct json_object_iterator json_object_iter_end(const struct json_object *obj)</div></div>
|
||||
<div class="ttc" id="ajson__object__iterator_8h_html_a8a152d153844f1ec1698419abae8c2e4"><div class="ttname"><a href="json__object__iterator_8h.html#a8a152d153844f1ec1698419abae8c2e4">json_object_iter_next</a></div><div class="ttdeci">JSON_EXPORT void json_object_iter_next(struct json_object_iterator *iter)</div></div>
|
||||
<div class="ttc" id="ajson__object__iterator_8h_html_a9cbb250d185348e8b193a886c35ae39e"><div class="ttname"><a href="json__object__iterator_8h.html#a9cbb250d185348e8b193a886c35ae39e">json_object_iter_equal</a></div><div class="ttdeci">JSON_EXPORT json_bool json_object_iter_equal(const struct json_object_iterator *iter1, const struct json_object_iterator *iter2)</div></div>
|
||||
<div class="ttc" id="ajson__object__iterator_8h_html_ac0b1cb5e3f4b04664ae9f18a61548633"><div class="ttname"><a href="json__object__iterator_8h.html#ac0b1cb5e3f4b04664ae9f18a61548633">json_object_iter_peek_name</a></div><div class="ttdeci">JSON_EXPORT const char * json_object_iter_peek_name(const struct json_object_iterator *iter)</div></div>
|
||||
<div class="ttc" id="ajson__object__iterator_8h_html_afdcd32f83dd8f20e25669f197fb7bde9"><div class="ttname"><a href="json__object__iterator_8h.html#afdcd32f83dd8f20e25669f197fb7bde9">json_object_iter_begin</a></div><div class="ttdeci">JSON_EXPORT struct json_object_iterator json_object_iter_begin(struct json_object *obj)</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a27841b0e4fdcb48b26cfcdb7559c84eb"><div class="ttname"><a href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener_parse</a></div><div class="ttdeci">JSON_EXPORT struct json_object * json_tokener_parse(const char *str)</div></div>
|
||||
<div class="ttc" id="ajson__types_8h_html_af27907ced0f5a43409ad96430fe0f914"><div class="ttname"><a href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></div><div class="ttdeci">struct json_object json_object</div><div class="ttdoc">The core type for all type of JSON objects handled by json-c.</div><div class="ttdef"><b>Definition:</b> json_types.h:47</div></div>
|
||||
<div class="ttc" id="astructjson__object__iterator_html"><div class="ttname"><a href="structjson__object__iterator.html">json_object_iterator</a></div><div class="ttdef"><b>Definition:</b> json_object_iterator.h:43</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a381fbae848a3268013110002d553c32e" name="a381fbae848a3268013110002d553c32e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a381fbae848a3268013110002d553c32e">◆ </a></span>json_object_iter_end()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_end </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Retrieves the iterator that represents the position beyond the last pair of the given JSON Object instance.</p>
|
||||
<dl class="section warning"><dt>Warning</dt><dd>Do NOT write code that assumes that the "end" iterator value is NULL, even if it is so in a particular instance of the implementation.</dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>The reason we do not (and MUST NOT) provide "json_object_iter_is_end(json_object_iterator* iter)" type of API is because it would limit the underlying representation of name/value containment (or force us to add additional, otherwise unnecessary, fields to the iterator structure). The "end" iterator and the equality test method, on the other hand, permit us to cleanly abstract pretty much any reasonable underlying representation without burdening the iterator structure with unnecessary data.</dd>
|
||||
<dd>
|
||||
For performance reasons, memorize the "end" iterator prior to any loop.</dd></dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">obj</td><td>JSON Object instance (MUST be of type json_object)</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> On return, the iterator refers to the "end" of the Object instance's pairs (i.e., NOT the last pair, but "beyond the last
|
||||
pair" value) </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9cbb250d185348e8b193a886c35ae39e" name="a9cbb250d185348e8b193a886c35ae39e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9cbb250d185348e8b193a886c35ae39e">◆ </a></span>json_object_iter_equal()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a> json_object_iter_equal </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||
<td class="paramname"><em>iter1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||
<td class="paramname"><em>iter2</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Tests two iterators for equality. Typically used to test for end of iteration by comparing an iterator to the corresponding "end" iterator (that was derived from the same JSON Object instance).</p>
|
||||
<dl class="section note"><dt>Note</dt><dd>The reason we do not (and MUST NOT) provide "json_object_iter_is_end(json_object_iterator* iter)" type of API is because it would limit the underlying representation of name/value containment (or force us to add additional, otherwise unnecessary, fields to the iterator structure). The equality test method, on the other hand, permits us to cleanly abstract pretty much any reasonable underlying representation.</dd></dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">iter1</td><td>Pointer to first valid, non-NULL iterator </td></tr>
|
||||
<tr><td class="paramname">iter2</td><td>POinter to second valid, non-NULL iterator</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section warning"><dt>Warning</dt><dd>if a NULL iterator pointer or an uninitialized or invalid iterator, or iterators derived from different JSON Object instances are passed, bad things will happen!</dd></dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>json_bool non-zero if iterators are equal (i.e., both reference the same name/value pair or are both at "end"); zero if they are not equal. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae93958fa755852192553f1686d248cd1" name="ae93958fa755852192553f1686d248cd1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae93958fa755852192553f1686d248cd1">◆ </a></span>json_object_iter_init_default()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> json_object_iter_init_default </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Initializes an iterator structure to a "default" value that is convenient for initializing an iterator variable to a default state (e.g., initialization list in a class' constructor).</p>
|
||||
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code hl_struct" href="structjson__object__iterator.html">json_object_iterator</a> iter = <a class="code hl_function" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a>();</div>
|
||||
<div class="line">MyClass() : iter_(<a class="code hl_function" href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a>())</div>
|
||||
<div class="ttc" id="ajson__object__iterator_8h_html_ae93958fa755852192553f1686d248cd1"><div class="ttname"><a href="json__object__iterator_8h.html#ae93958fa755852192553f1686d248cd1">json_object_iter_init_default</a></div><div class="ttdeci">JSON_EXPORT struct json_object_iterator json_object_iter_init_default(void)</div></div>
|
||||
</div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>The initialized value doesn't reference any specific pair, is considered an invalid iterator, and MUST NOT be passed to any json-c API that expects a valid iterator.</dd>
|
||||
<dd>
|
||||
User and internal code MUST NOT make any assumptions about and dependencies on the value of the "default" iterator value.</dd></dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="structjson__object__iterator.html">json_object_iterator</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a8a152d153844f1ec1698419abae8c2e4" name="a8a152d153844f1ec1698419abae8c2e4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a8a152d153844f1ec1698419abae8c2e4">◆ </a></span>json_object_iter_next()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_object_iter_next </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Returns an iterator to the next pair, if any</p>
|
||||
<dl class="section warning"><dt>Warning</dt><dd>Any modification of the underlying pair invalidates all iterators to that pair.</dd></dl>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">iter</td><td>[IN/OUT] Pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator. WARNING: bad things will happen if invalid or "end" iterator is passed. Upon return will contain the reference to the next pair if there is one; if there are no more pairs, will contain the "end" iterator value, which may be compared against the return value of <a class="el" href="json__object__iterator_8h.html#a381fbae848a3268013110002d553c32e">json_object_iter_end()</a> for the same JSON Object instance. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac0b1cb5e3f4b04664ae9f18a61548633" name="ac0b1cb5e3f4b04664ae9f18a61548633"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac0b1cb5e3f4b04664ae9f18a61548633">◆ </a></span>json_object_iter_peek_name()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * json_object_iter_peek_name </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Returns a const pointer to the name of the pair referenced by the given iterator.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">iter</td><td>pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator.</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section warning"><dt>Warning</dt><dd>bad things will happen if an invalid or "end" iterator is passed.</dd></dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>const char* Pointer to the name of the referenced name/value pair. The name memory belongs to the name/value pair, will be freed when the pair is deleted or modified, and MUST NOT be modified or freed by the user. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a90f8938ea175a9213713688f18c3116a" name="a90f8938ea175a9213713688f18c3116a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a90f8938ea175a9213713688f18c3116a">◆ </a></span>json_object_iter_peek_value()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_object_iter_peek_value </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const struct <a class="el" href="structjson__object__iterator.html">json_object_iterator</a> * </td>
|
||||
<td class="paramname"><em>iter</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Returns a pointer to the json-c instance representing the value of the referenced name/value pair, without altering the instance's reference count.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">iter</td><td>pointer to iterator that references a name/value pair; MUST be a valid, non-end iterator.</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section warning"><dt>Warning</dt><dd>bad things will happen if invalid or "end" iterator is passed.</dd></dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>struct json_object* Pointer to the json-c value instance of the referenced name/value pair; the value's reference count is not changed by this function: if you plan to hold on to this json-c node, take a look at <a class="el" href="json__object_8h.html#ac5bbb5364ee14d645ac7b6e169a9d74b">json_object_get()</a> and <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>. IMPORTANT: json-c API represents the JSON Null value as a NULL json_object instance pointer. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
124
doc/html/json__patch_8h.html
Normal file
@@ -0,0 +1,124 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_patch.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Data Structures</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_patch.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>JSON Patch (RFC 6902) implementation for manipulating JSON objects.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Data Structures</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__patch__error.html">json_patch_error</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a134aaed1e732d029d34ce2d605f9ac8d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__patch_8h.html#a134aaed1e732d029d34ce2d605f9ac8d">json_patch_apply</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *copy_from, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *patch, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **base, struct <a class="el" href="structjson__patch__error.html">json_patch_error</a> *patch_error)</td></tr>
|
||||
<tr class="separator:a134aaed1e732d029d34ce2d605f9ac8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >JSON Patch (RFC 6902) implementation for manipulating JSON objects. </p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a134aaed1e732d029d34ce2d605f9ac8d" name="a134aaed1e732d029d34ce2d605f9ac8d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a134aaed1e732d029d34ce2d605f9ac8d">◆ </a></span>json_patch_apply()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_patch_apply </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>copy_from</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>patch</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||
<td class="paramname"><em>base</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__patch__error.html">json_patch_error</a> * </td>
|
||||
<td class="paramname"><em>patch_error</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Apply the JSON patch to the base object. The patch object must be formatted as per RFC 6902, i.e. a json_type_array containing patch operations. If the patch is not correctly formatted, an error will be returned.</p>
|
||||
<p >The json_object at *base will be modified in place. Exactly one of *base or copy_from must be non-NULL. If *base is NULL, a new copy of copy_from will allocated and populated using <a class="el" href="json__object_8h.html#aaac16505f13bc56accfad82604d8bcdc">json_object_deep_copy()</a>. In this case <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> <em>must</em> be used to free *base even if the overall patching operation fails.</p>
|
||||
<p >If anything fails during patching a negative value will be returned, and patch_error (if non-NULL) will be populated with error details.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">base</td><td>a pointer to the JSON object which to patch </td></tr>
|
||||
<tr><td class="paramname">patch</td><td>the JSON object that describes the patch to be applied </td></tr>
|
||||
<tr><td class="paramname">copy_from</td><td>a JSON object to copy to *base </td></tr>
|
||||
<tr><td class="paramname">patch_error</td><td>optional, details about errors</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if patch completely applied </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
270
doc/html/json__pointer_8h.html
Normal file
@@ -0,0 +1,270 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_pointer.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_pointer.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:aff88937e32b0ba6ffbd07cb4b1919053"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer_get</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, const char *path, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **res)</td></tr>
|
||||
<tr class="separator:aff88937e32b0ba6ffbd07cb4b1919053"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af0ac03df64b215d05041e8007ed0233d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#af0ac03df64b215d05041e8007ed0233d">json_pointer_getf</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **res, const char *path_fmt,...)</td></tr>
|
||||
<tr class="separator:af0ac03df64b215d05041e8007ed0233d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aef0e651f63ce5ce35648503705e2586b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **obj, const char *path, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value)</td></tr>
|
||||
<tr class="separator:aef0e651f63ce5ce35648503705e2586b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a66f1f98a2ce085c19f6750193b4c726d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer_8h.html#a66f1f98a2ce085c19f6750193b4c726d">json_pointer_setf</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **obj, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value, const char *path_fmt,...)</td></tr>
|
||||
<tr class="separator:a66f1f98a2ce085c19f6750193b4c726d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree. </p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="aff88937e32b0ba6ffbd07cb4b1919053" name="aff88937e32b0ba6ffbd07cb4b1919053"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aff88937e32b0ba6ffbd07cb4b1919053">◆ </a></span>json_pointer_get()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_get </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>path</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||
<td class="paramname"><em>res</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Retrieves a JSON sub-object from inside another JSON object using the JSON pointer notation as defined in RFC 6901 <a href="https://tools.ietf.org/html/rfc6901">https://tools.ietf.org/html/rfc6901</a></p>
|
||||
<p >The returned JSON sub-object is equivalent to parsing manually the 'obj' JSON tree ; i.e. it's not a new object that is created, but rather a pointer inside the JSON tree.</p>
|
||||
<p >Internally, this is equivalent to doing a series of '<a class="el" href="json__object_8h.html#af7a569d69c3b90e79af7ef21e557e402">json_object_object_get()</a>' and '<a class="el" href="json__object_8h.html#af229a1625af2aae7116a0bd6fb1e5ad2">json_object_array_get_idx()</a>' along the given 'path'.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">obj</td><td>the json_object instance/tree from where to retrieve sub-objects </td></tr>
|
||||
<tr><td class="paramname">path</td><td>a (RFC6901) string notation for the sub-object to retrieve </td></tr>
|
||||
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the json_object associated with the given path</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af0ac03df64b215d05041e8007ed0233d" name="af0ac03df64b215d05041e8007ed0233d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af0ac03df64b215d05041e8007ed0233d">◆ </a></span>json_pointer_getf()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_getf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||
<td class="paramname"><em>res</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>path_fmt</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname"><em>...</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This is a variant of '<a class="el" href="json__pointer_8h.html#aff88937e32b0ba6ffbd07cb4b1919053">json_pointer_get()</a>' that supports printf() style arguments.</p>
|
||||
<p >Variable arguments go after the 'path_fmt' parameter.</p>
|
||||
<p >Example: json_pointer_getf(obj, res, "/foo/%d/%s", 0, "bar") This also means that you need to escape '' with '%' (just like in printf())</p>
|
||||
<p >Please take into consideration all recommended 'printf()' format security aspects when using this function.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">obj</td><td>the json_object instance/tree to which to add a sub-object </td></tr>
|
||||
<tr><td class="paramname">res</td><td>a pointer that stores a reference to the json_object associated with the given path </td></tr>
|
||||
<tr><td class="paramname">path_fmt</td><td>a printf() style format for the path</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aef0e651f63ce5ce35648503705e2586b" name="aef0e651f63ce5ce35648503705e2586b"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aef0e651f63ce5ce35648503705e2586b">◆ </a></span>json_pointer_set()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_set </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>path</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>value</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Sets JSON object 'value' in the 'obj' tree at the location specified by the 'path'. 'path' is JSON pointer notation as defined in RFC 6901 <a href="https://tools.ietf.org/html/rfc6901">https://tools.ietf.org/html/rfc6901</a></p>
|
||||
<p >Note that 'obj' is a double pointer, mostly for the "" (empty string) case, where the entire JSON object would be replaced by 'value'. In the case of the "" path, the object at '*obj' will have it's refcount decremented with '<a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a>' and the 'value' object will be assigned to it.</p>
|
||||
<p >For other cases (JSON sub-objects) ownership of 'value' will be transferred into '*obj' via '<a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a>' & '<a class="el" href="json__object_8h.html#a1ac0ccdbc13a25da7d8b2dc9e421dfad">json_object_array_put_idx()</a>', so the only time the refcount should be decremented for 'value' is when the return value of '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' is negative (meaning the 'value' object did not get set into '*obj').</p>
|
||||
<p >That also implies that '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' does not do any refcount incrementing. (Just that single decrement that was mentioned above).</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">obj</td><td>the json_object instance/tree to which to add a sub-object </td></tr>
|
||||
<tr><td class="paramname">path</td><td>a (RFC6901) string notation for the sub-object to set in the tree </td></tr>
|
||||
<tr><td class="paramname">value</td><td>object to set at path</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a66f1f98a2ce085c19f6750193b4c726d" name="a66f1f98a2ce085c19f6750193b4c726d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a66f1f98a2ce085c19f6750193b4c726d">◆ </a></span>json_pointer_setf()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_pointer_setf </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>value</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>path_fmt</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname"><em>...</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This is a variant of '<a class="el" href="json__pointer_8h.html#aef0e651f63ce5ce35648503705e2586b">json_pointer_set()</a>' that supports printf() style arguments.</p>
|
||||
<p >Variable arguments go after the 'path_fmt' parameter.</p>
|
||||
<p >Example: json_pointer_setf(obj, value, "/foo/%d/%s", 0, "bar") This also means that you need to escape '' with '%' (just like in printf())</p>
|
||||
<p >Please take into consideration all recommended 'printf()' format security aspects when using this function.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">obj</td><td>the json_object instance/tree to which to add a sub-object </td></tr>
|
||||
<tr><td class="paramname">value</td><td>object to set at path </td></tr>
|
||||
<tr><td class="paramname">path_fmt</td><td>a printf() style format for the path</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>negative if an error (or not found), or 0 if succeeded </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
174
doc/html/json__pointer__private_8h.html
Normal file
@@ -0,0 +1,174 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_pointer_private.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Data Structures</a> |
|
||||
<a href="#typedef-members">Typedefs</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_pointer_private.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Do not use, json-c internal, may be changed or removed at any time.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Data Structures</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__pointer__get__result.html">json_pointer_get_result</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:a26be669fffee1f771c28cd932237e5aa"><td class="memItemLeft" align="right" valign="top">typedef int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer__private_8h.html#a26be669fffee1f771c28cd932237e5aa">json_pointer_array_set_cb</a>) (<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *parent, size_t idx, <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value, void *priv)</td></tr>
|
||||
<tr class="separator:a26be669fffee1f771c28cd932237e5aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a0de79c3e3e33f897ba9db340d7372b64"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer__private_8h.html#a0de79c3e3e33f897ba9db340d7372b64">json_pointer_get_internal</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, const char *path, struct <a class="el" href="structjson__pointer__get__result.html">json_pointer_get_result</a> *res)</td></tr>
|
||||
<tr class="separator:a0de79c3e3e33f897ba9db340d7372b64"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ac7b6b8de2336f8cd463687d7c148d2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__pointer__private_8h.html#a0ac7b6b8de2336f8cd463687d7c148d2">json_pointer_set_with_array_cb</a> (struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> **obj, const char *path, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value, <a class="el" href="json__pointer__private_8h.html#a26be669fffee1f771c28cd932237e5aa">json_pointer_array_set_cb</a> array_set_cb, void *priv)</td></tr>
|
||||
<tr class="separator:a0ac7b6b8de2336f8cd463687d7c148d2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Do not use, json-c internal, may be changed or removed at any time. </p>
|
||||
</div><h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a26be669fffee1f771c28cd932237e5aa" name="a26be669fffee1f771c28cd932237e5aa"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a26be669fffee1f771c28cd932237e5aa">◆ </a></span>json_pointer_array_set_cb</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef int(* json_pointer_array_set_cb) (<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *parent, size_t idx, <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *value, void *priv)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a0de79c3e3e33f897ba9db340d7372b64" name="a0de79c3e3e33f897ba9db340d7372b64"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0de79c3e3e33f897ba9db340d7372b64">◆ </a></span>json_pointer_get_internal()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int json_pointer_get_internal </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>path</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__pointer__get__result.html">json_pointer_get_result</a> * </td>
|
||||
<td class="paramname"><em>res</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a0ac7b6b8de2336f8cd463687d7c148d2" name="a0ac7b6b8de2336f8cd463687d7c148d2"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0ac7b6b8de2336f8cd463687d7c148d2">◆ </a></span>json_pointer_set_with_array_cb()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int json_pointer_set_with_array_cb </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> ** </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>path</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>value</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="el" href="json__pointer__private_8h.html#a26be669fffee1f771c28cd932237e5aa">json_pointer_array_set_cb</a> </td>
|
||||
<td class="paramname"><em>array_set_cb</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"><em>priv</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
637
doc/html/json__tokener_8h.html
Normal file
@@ -0,0 +1,637 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_tokener.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Data Structures</a> |
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#typedef-members">Typedefs</a> |
|
||||
<a href="#enum-members">Enumerations</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_tokener.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Methods to parse an input string into a tree of json_object objects.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Data Structures</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener__srec.html">json_tokener_srec</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__tokener.html">json_tokener</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a5ccd346459feb66e4e0af32005360279"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">JSON_TOKENER_DEFAULT_DEPTH</a>   32</td></tr>
|
||||
<tr class="separator:a5ccd346459feb66e4e0af32005360279"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a72be595cb7e090c70b1d29feb1cbfb16"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a72be595cb7e090c70b1d29feb1cbfb16">JSON_TOKENER_STRICT</a>   0x01</td></tr>
|
||||
<tr class="separator:a72be595cb7e090c70b1d29feb1cbfb16"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa74428c9cf57655eea5b49feae3f2704"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#aa74428c9cf57655eea5b49feae3f2704">JSON_TOKENER_ALLOW_TRAILING_CHARS</a>   0x02</td></tr>
|
||||
<tr class="separator:aa74428c9cf57655eea5b49feae3f2704"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a633ab043f2b07fd22420af2b369a260a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a633ab043f2b07fd22420af2b369a260a">JSON_TOKENER_VALIDATE_UTF8</a>   0x10</td></tr>
|
||||
<tr class="separator:a633ab043f2b07fd22420af2b369a260a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:a4dd5e5b65aee7f376f529f86b210ff49"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__tokener.html">json_tokener</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a4dd5e5b65aee7f376f529f86b210ff49">json_tokener</a></td></tr>
|
||||
<tr class="separator:a4dd5e5b65aee7f376f529f86b210ff49"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a0a31f0df8a532ef8be5c09ba40eacb59"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> { <br />
|
||||
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c">json_tokener_error_depth</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded">json_tokener_error_parse_eof</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710">json_tokener_error_parse_unexpected</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c">json_tokener_error_parse_null</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c">json_tokener_error_parse_boolean</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81">json_tokener_error_parse_number</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e">json_tokener_error_parse_array</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0">json_tokener_error_parse_object_key_name</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd">json_tokener_error_parse_object_key_sep</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013">json_tokener_error_parse_object_value_sep</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7">json_tokener_error_parse_string</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28">json_tokener_error_parse_comment</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1">json_tokener_error_parse_utf8_string</a>
|
||||
, <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d">json_tokener_error_size</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a23ecf6536cfbfb48781fd7874eef59a0">json_tokener_error_memory</a>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="separator:a0a31f0df8a532ef8be5c09ba40eacb59"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af026dec71e4548e6200eb2f902f1c4e2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a> { <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d">json_tokener_state_eatws</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72">json_tokener_state_start</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2">json_tokener_state_finish</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792">json_tokener_state_null</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c">json_tokener_state_comment_start</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9">json_tokener_state_comment</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162">json_tokener_state_comment_eol</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1">json_tokener_state_comment_end</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65">json_tokener_state_string</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e">json_tokener_state_string_escape</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0">json_tokener_state_escape_unicode</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264">json_tokener_state_escape_unicode_need_escape</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4">json_tokener_state_escape_unicode_need_u</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e">json_tokener_state_boolean</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81">json_tokener_state_number</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4">json_tokener_state_array</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771">json_tokener_state_array_add</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865">json_tokener_state_array_sep</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29">json_tokener_state_object_field_start</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc">json_tokener_state_object_field</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7">json_tokener_state_object_field_end</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa">json_tokener_state_object_value</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162">json_tokener_state_object_value_add</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215">json_tokener_state_object_sep</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9">json_tokener_state_array_after_sep</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523">json_tokener_state_object_field_start_after_sep</a>
|
||||
, <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53">json_tokener_state_inf</a>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="separator:af026dec71e4548e6200eb2f902f1c4e2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a4a2fa28d815f8b370cbb00b80ebc0f1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||
<tr class="separator:a4a2fa28d815f8b370cbb00b80ebc0f1d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2c5f8ad4e8884ddcc11f741eac16d435"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a2c5f8ad4e8884ddcc11f741eac16d435">json_tokener_error_desc</a> (enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> jerr)</td></tr>
|
||||
<tr class="separator:a2c5f8ad4e8884ddcc11f741eac16d435"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af5d7ffd95a0f6e5d5bb5994d233b4197"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||
<tr class="separator:af5d7ffd95a0f6e5d5bb5994d233b4197"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa9ccdfe720ac77f7cbe0951c778b99d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#aa9ccdfe720ac77f7cbe0951c778b99d1">json_tokener_new</a> (void)</td></tr>
|
||||
<tr class="separator:aa9ccdfe720ac77f7cbe0951c778b99d1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9d9f1b78983dc1c68463f619b68b4563"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a9d9f1b78983dc1c68463f619b68b4563">json_tokener_new_ex</a> (int depth)</td></tr>
|
||||
<tr class="separator:a9d9f1b78983dc1c68463f619b68b4563"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a887c4661906fc6b36cc366304e522534"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||
<tr class="separator:a887c4661906fc6b36cc366304e522534"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a238649a59737be5152d525aeaf4153ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener_reset</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok)</td></tr>
|
||||
<tr class="separator:a238649a59737be5152d525aeaf4153ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a27841b0e4fdcb48b26cfcdb7559c84eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener_parse</a> (const char *str)</td></tr>
|
||||
<tr class="separator:a27841b0e4fdcb48b26cfcdb7559c84eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab14722dd924b1940f18a3a9def2948c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#ab14722dd924b1940f18a3a9def2948c3">json_tokener_parse_verbose</a> (const char *str, enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> *error)</td></tr>
|
||||
<tr class="separator:ab14722dd924b1940f18a3a9def2948c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7e7a0c0c9dc79e5e47b2608bb8aad7b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok, int flags)</td></tr>
|
||||
<tr class="separator:a7e7a0c0c9dc79e5e47b2608bb8aad7b7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d39fd40a8720a1b96d9e0d8fea4afab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex</a> (struct <a class="el" href="structjson__tokener.html">json_tokener</a> *tok, const char *str, int len)</td></tr>
|
||||
<tr class="separator:a6d39fd40a8720a1b96d9e0d8fea4afab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Methods to parse an input string into a tree of json_object objects. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="aa74428c9cf57655eea5b49feae3f2704" name="aa74428c9cf57655eea5b49feae3f2704"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa74428c9cf57655eea5b49feae3f2704">◆ </a></span>JSON_TOKENER_ALLOW_TRAILING_CHARS</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_TOKENER_ALLOW_TRAILING_CHARS   0x02</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Use with JSON_TOKENER_STRICT to allow trailing characters after the first parsed object.</p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a5ccd346459feb66e4e0af32005360279" name="a5ccd346459feb66e4e0af32005360279"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5ccd346459feb66e4e0af32005360279">◆ </a></span>JSON_TOKENER_DEFAULT_DEPTH</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_TOKENER_DEFAULT_DEPTH   32</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a72be595cb7e090c70b1d29feb1cbfb16" name="a72be595cb7e090c70b1d29feb1cbfb16"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a72be595cb7e090c70b1d29feb1cbfb16">◆ </a></span>JSON_TOKENER_STRICT</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_TOKENER_STRICT   0x01</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Be strict when parsing JSON input. Use caution with this flag as what is considered valid may become more restrictive from one release to the next, causing your code to fail on previously working input.</p>
|
||||
<p >Note that setting this will also effectively disable parsing of multiple json objects in a single character stream (e.g. {"foo":123}{"bar":234}); if you want to allow that also set JSON_TOKENER_ALLOW_TRAILING_CHARS</p>
|
||||
<p >This flag is not set by default.</p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a633ab043f2b07fd22420af2b369a260a" name="a633ab043f2b07fd22420af2b369a260a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a633ab043f2b07fd22420af2b369a260a">◆ </a></span>JSON_TOKENER_VALIDATE_UTF8</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_TOKENER_VALIDATE_UTF8   0x10</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Cause <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a> to validate that input is UTF8. If this flag is specified and validation fails, then json_tokener_get_error(tok) will return json_tokener_error_parse_utf8_string</p>
|
||||
<p >This flag is not set by default.</p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="json__tokener_8h.html#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">json_tokener_set_flags()</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a4dd5e5b65aee7f376f529f86b210ff49" name="a4dd5e5b65aee7f376f529f86b210ff49"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4dd5e5b65aee7f376f529f86b210ff49">◆ </a></span>json_tokener</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef struct <a class="el" href="structjson__tokener.html">json_tokener</a> <a class="el" href="structjson__tokener.html">json_tokener</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Unused in json-c code </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a id="a0a31f0df8a532ef8be5c09ba40eacb59" name="a0a31f0df8a532ef8be5c09ba40eacb59"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0a31f0df8a532ef8be5c09ba40eacb59">◆ </a></span>json_tokener_error</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0" name="a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0"></a>json_tokener_success </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0" name="a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0"></a>json_tokener_continue </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c" name="a0a31f0df8a532ef8be5c09ba40eacb59a59b2c36d9cc30c3038e09b9ddee6c86c"></a>json_tokener_error_depth </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded" name="a0a31f0df8a532ef8be5c09ba40eacb59a8f774f4c7869afdd9b92295fca3a9ded"></a>json_tokener_error_parse_eof </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710" name="a0a31f0df8a532ef8be5c09ba40eacb59a3309fa8ea4ab3ee0a81c55b69d223710"></a>json_tokener_error_parse_unexpected </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c" name="a0a31f0df8a532ef8be5c09ba40eacb59a641bbb8d881fdd1e463f20a1a203b77c"></a>json_tokener_error_parse_null </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c" name="a0a31f0df8a532ef8be5c09ba40eacb59addbdfe084e20709da3d20c8ae8ca278c"></a>json_tokener_error_parse_boolean </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81" name="a0a31f0df8a532ef8be5c09ba40eacb59ab1b3ad685eb97235d269cc5b9eb7ab81"></a>json_tokener_error_parse_number </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e" name="a0a31f0df8a532ef8be5c09ba40eacb59a574846740b785146f164a209dc89574e"></a>json_tokener_error_parse_array </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0" name="a0a31f0df8a532ef8be5c09ba40eacb59a2003bd8e96c6680cd22419c5ceafd4c0"></a>json_tokener_error_parse_object_key_name </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd" name="a0a31f0df8a532ef8be5c09ba40eacb59af91a2a819b0d6344d6d4e1d2579f28fd"></a>json_tokener_error_parse_object_key_sep </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013" name="a0a31f0df8a532ef8be5c09ba40eacb59a9ddb98741aebf7ac44735b4a43717013"></a>json_tokener_error_parse_object_value_sep </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7" name="a0a31f0df8a532ef8be5c09ba40eacb59a033ce89ce7b8f9e591e4bea92121c4c7"></a>json_tokener_error_parse_string </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28" name="a0a31f0df8a532ef8be5c09ba40eacb59a3588c05b1da8b909a8cbdef66b0a1a28"></a>json_tokener_error_parse_comment </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1" name="a0a31f0df8a532ef8be5c09ba40eacb59ab405d4a1282f3b037048d3456869a4c1"></a>json_tokener_error_parse_utf8_string </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d" name="a0a31f0df8a532ef8be5c09ba40eacb59a1eeed74de65c0c12c9f9c28cf4f3ff1d"></a>json_tokener_error_size </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a0a31f0df8a532ef8be5c09ba40eacb59a23ecf6536cfbfb48781fd7874eef59a0" name="a0a31f0df8a532ef8be5c09ba40eacb59a23ecf6536cfbfb48781fd7874eef59a0"></a>json_tokener_error_memory </td><td class="fielddoc"></td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af026dec71e4548e6200eb2f902f1c4e2" name="af026dec71e4548e6200eb2f902f1c4e2"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af026dec71e4548e6200eb2f902f1c4e2">◆ </a></span>json_tokener_state</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="json__tokener_8h.html#af026dec71e4548e6200eb2f902f1c4e2">json_tokener_state</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Don't use this outside of json_tokener.c, it will be made private in a future release. </dd></dl>
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d" name="af026dec71e4548e6200eb2f902f1c4e2a9db152607ec1872a000f1fcd8757297d"></a>json_tokener_state_eatws </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72" name="af026dec71e4548e6200eb2f902f1c4e2a7c4c0bed1ebde45f5a99de4278792d72"></a>json_tokener_state_start </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2" name="af026dec71e4548e6200eb2f902f1c4e2ad80b689cb709967b67a348de3d8601d2"></a>json_tokener_state_finish </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792" name="af026dec71e4548e6200eb2f902f1c4e2a668fb2654c59608945370003403a5792"></a>json_tokener_state_null </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c" name="af026dec71e4548e6200eb2f902f1c4e2a0ff1d1935d49188aa1e6b998d43e655c"></a>json_tokener_state_comment_start </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9" name="af026dec71e4548e6200eb2f902f1c4e2a8c2680b8873a8dce85f0b1ac25882dc9"></a>json_tokener_state_comment </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162" name="af026dec71e4548e6200eb2f902f1c4e2ad8151350b1ef50298bafbab244ac1162"></a>json_tokener_state_comment_eol </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1" name="af026dec71e4548e6200eb2f902f1c4e2a62cef297a37a98b1239ea4bbd39723e1"></a>json_tokener_state_comment_end </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65" name="af026dec71e4548e6200eb2f902f1c4e2aa90ea4c327a285bfbbce49d42d491d65"></a>json_tokener_state_string </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e" name="af026dec71e4548e6200eb2f902f1c4e2a1cf793d73587f68c4f2b3b4f65ff728e"></a>json_tokener_state_string_escape </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0" name="af026dec71e4548e6200eb2f902f1c4e2a6c852da2e694be56799c58c201d6dca0"></a>json_tokener_state_escape_unicode </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264" name="af026dec71e4548e6200eb2f902f1c4e2a482827c786d2378635ef54dc2b092264"></a>json_tokener_state_escape_unicode_need_escape </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4" name="af026dec71e4548e6200eb2f902f1c4e2a5cab1cdfea9128e0ed9db85ffdc71df4"></a>json_tokener_state_escape_unicode_need_u </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e" name="af026dec71e4548e6200eb2f902f1c4e2a3525b15ecd0a698281b3914115b6bd3e"></a>json_tokener_state_boolean </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81" name="af026dec71e4548e6200eb2f902f1c4e2a7ce18d281d322af690b45f3b8b599e81"></a>json_tokener_state_number </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4" name="af026dec71e4548e6200eb2f902f1c4e2ab3d763300f1914865be09d603ddc11f4"></a>json_tokener_state_array </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771" name="af026dec71e4548e6200eb2f902f1c4e2aa2a01798ebe318ea91c38a886418f771"></a>json_tokener_state_array_add </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865" name="af026dec71e4548e6200eb2f902f1c4e2a4ec7762aeab3424cbb14354c94025865"></a>json_tokener_state_array_sep </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29" name="af026dec71e4548e6200eb2f902f1c4e2a8c7dbda177a5d83a36a64f7cb99b9a29"></a>json_tokener_state_object_field_start </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc" name="af026dec71e4548e6200eb2f902f1c4e2a77375940a10806e81d99876d13be67fc"></a>json_tokener_state_object_field </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7" name="af026dec71e4548e6200eb2f902f1c4e2a0220aea1d9204aadfffde92c7f73f5f7"></a>json_tokener_state_object_field_end </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa" name="af026dec71e4548e6200eb2f902f1c4e2a4c7b7deac37355491572f6da84f208aa"></a>json_tokener_state_object_value </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162" name="af026dec71e4548e6200eb2f902f1c4e2ade6bee72f2147e634b19eb84e58eb162"></a>json_tokener_state_object_value_add </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215" name="af026dec71e4548e6200eb2f902f1c4e2adaf3e06c5fc04fd4f04040cd67698215"></a>json_tokener_state_object_sep </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9" name="af026dec71e4548e6200eb2f902f1c4e2ab1a0ad626ec662c1ba4fb5bfee1cd0a9"></a>json_tokener_state_array_after_sep </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523" name="af026dec71e4548e6200eb2f902f1c4e2a3a2c9cf26d076936a10a6ae3ca4eb523"></a>json_tokener_state_object_field_start_after_sep </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53" name="af026dec71e4548e6200eb2f902f1c4e2ab9f6244bfca4924db61ed3050c780b53"></a>json_tokener_state_inf </td><td class="fielddoc"></td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a2c5f8ad4e8884ddcc11f741eac16d435" name="a2c5f8ad4e8884ddcc11f741eac16d435"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2c5f8ad4e8884ddcc11f741eac16d435">◆ </a></span>json_tokener_error_desc()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * json_tokener_error_desc </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> </td>
|
||||
<td class="paramname"><em>jerr</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Given an error previously returned by <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a>, return a human readable description of the error.</p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>a generic error message is returned if an invalid error value is provided. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a887c4661906fc6b36cc366304e522534" name="a887c4661906fc6b36cc366304e522534"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a887c4661906fc6b36cc366304e522534">◆ </a></span>json_tokener_free()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_free </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Free a <a class="el" href="structjson__tokener.html">json_tokener</a> previously allocated with <a class="el" href="json__tokener_8h.html#aa9ccdfe720ac77f7cbe0951c778b99d1">json_tokener_new()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af5d7ffd95a0f6e5d5bb5994d233b4197" name="af5d7ffd95a0f6e5d5bb5994d233b4197"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af5d7ffd95a0f6e5d5bb5994d233b4197">◆ </a></span>json_tokener_get_error()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> json_tokener_get_error </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Retrieve the error caused by the last call to <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a>, or json_tokener_success if there is no error.</p>
|
||||
<p >When parsing a JSON string in pieces, if the tokener is in the middle of parsing this will return json_tokener_continue.</p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="json__tokener_8h.html#a2c5f8ad4e8884ddcc11f741eac16d435">json_tokener_error_desc()</a>. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4a2fa28d815f8b370cbb00b80ebc0f1d" name="a4a2fa28d815f8b370cbb00b80ebc0f1d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4a2fa28d815f8b370cbb00b80ebc0f1d">◆ </a></span>json_tokener_get_parse_end()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> size_t json_tokener_get_parse_end </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Return the offset of the byte after the last byte parsed relative to the start of the most recent string passed in to <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a>. i.e. this is where parsing would start again if the input contains another JSON object after the currently parsed one.</p>
|
||||
<p >Note that when multiple parse calls are issued, this is <em>not</em> the total number of characters parsed.</p>
|
||||
<p >In the past this would have been accessed as tok->char_offset.</p>
|
||||
<p >See <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a> for an example of how to use this. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aa9ccdfe720ac77f7cbe0951c778b99d1" name="aa9ccdfe720ac77f7cbe0951c778b99d1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa9ccdfe720ac77f7cbe0951c778b99d1">◆ </a></span>json_tokener_new()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * json_tokener_new </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Allocate a new <a class="el" href="structjson__tokener.html">json_tokener</a>. When done using that to parse objects, free it with <a class="el" href="json__tokener_8h.html#a887c4661906fc6b36cc366304e522534">json_tokener_free()</a>. See <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a> for usage details. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9d9f1b78983dc1c68463f619b68b4563" name="a9d9f1b78983dc1c68463f619b68b4563"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9d9f1b78983dc1c68463f619b68b4563">◆ </a></span>json_tokener_new_ex()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="structjson__tokener.html">json_tokener</a> * json_tokener_new_ex </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>depth</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Allocate a new <a class="el" href="structjson__tokener.html">json_tokener</a> with a custom max nesting depth. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="json__tokener_8h.html#a5ccd346459feb66e4e0af32005360279">JSON_TOKENER_DEFAULT_DEPTH</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a27841b0e4fdcb48b26cfcdb7559c84eb" name="a27841b0e4fdcb48b26cfcdb7559c84eb"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a27841b0e4fdcb48b26cfcdb7559c84eb">◆ </a></span>json_tokener_parse()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_tokener_parse </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>str</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Parse a json_object out of the string <code>str</code>.</p>
|
||||
<p >If you need more control over how the parsing occurs, see <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a6d39fd40a8720a1b96d9e0d8fea4afab" name="a6d39fd40a8720a1b96d9e0d8fea4afab"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6d39fd40a8720a1b96d9e0d8fea4afab">◆ </a></span>json_tokener_parse_ex()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_tokener_parse_ex </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||
<td class="paramname"><em>tok</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>str</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>len</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Parse a string and return a non-NULL json_object if a valid JSON value is found. The string does not need to be a JSON object or array; it can also be a string, number or boolean value.</p>
|
||||
<p >A partial JSON string can be parsed. If the parsing is incomplete, NULL will be returned and <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> will return json_tokener_continue. <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a> can then be called with additional bytes in str to continue the parsing.</p>
|
||||
<p >If <a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a> returns NULL and the error is anything other than json_tokener_continue, a fatal error has occurred and parsing must be halted. Then, the tok object must not be reused until <a class="el" href="json__tokener_8h.html#a238649a59737be5152d525aeaf4153ab">json_tokener_reset()</a> is called.</p>
|
||||
<p >When a valid JSON value is parsed, a non-NULL json_object will be returned, with a reference count of one which belongs to the caller. Also, <a class="el" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error()</a> will return json_tokener_success. Be sure to check the type with <a class="el" href="json__object_8h.html#a8ab506a3d8f4ba5eb6a12ce0a6bbd37b">json_object_is_type()</a> or <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object_get_type()</a> before using the object.</p>
|
||||
<p >Trailing characters after the parsed value do not automatically cause an error. It is up to the caller to decide whether to treat this as an error or to handle the additional characters, perhaps by parsing another json value starting from that point.</p>
|
||||
<p >If the caller knows that they are at the end of their input, the length passed MUST include the final '\0' character, so values with no inherent end (i.e. numbers) can be properly parsed, rather than just returning json_tokener_continue.</p>
|
||||
<p >Extra characters can be detected by comparing the value returned by <a class="el" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end()</a> against the length of the last len parameter passed in.</p>
|
||||
<p >The tokener does <b>not</b> maintain an internal buffer so the caller is responsible for a subsequent call to json_tokener_parse_ex with an appropriate str parameter starting with the extra characters.</p>
|
||||
<p >This interface is presently not 64-bit clean due to the int len argument so the function limits the maximum string size to INT32_MAX (2GB). If the function is called with len == -1 then strlen is called to check the string length is less than INT32_MAX (2GB)</p>
|
||||
<p >Example: </p><div class="fragment"><div class="line"><a class="code hl_typedef" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jobj = NULL;</div>
|
||||
<div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span> *mystring = NULL;</div>
|
||||
<div class="line"><span class="keywordtype">int</span> stringlen = 0;</div>
|
||||
<div class="line"><span class="keyword">enum</span> <a class="code hl_enumeration" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> jerr;</div>
|
||||
<div class="line"><span class="keywordflow">do</span> {</div>
|
||||
<div class="line"> mystring = ... <span class="comment">// get JSON string, e.g. read from file, etc...</span></div>
|
||||
<div class="line"> stringlen = strlen(mystring);</div>
|
||||
<div class="line"> <span class="keywordflow">if</span> (end_of_input)</div>
|
||||
<div class="line"> stringlen++; <span class="comment">// Include the '\0' if we know we're at the end of input</span></div>
|
||||
<div class="line"> jobj = <a class="code hl_function" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex</a>(tok, mystring, stringlen);</div>
|
||||
<div class="line">} <span class="keywordflow">while</span> ((jerr = <a class="code hl_function" href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a>(tok)) == <a class="code hl_enumvalue" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a>);</div>
|
||||
<div class="line"><span class="keywordflow">if</span> (jerr != <a class="code hl_enumvalue" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a>)</div>
|
||||
<div class="line">{</div>
|
||||
<div class="line"> fprintf(stderr, <span class="stringliteral">"Error: %s\n"</span>, <a class="code hl_function" href="json__tokener_8h.html#a2c5f8ad4e8884ddcc11f741eac16d435">json_tokener_error_desc</a>(jerr));</div>
|
||||
<div class="line"> <span class="comment">// Handle errors, as appropriate for your application.</span></div>
|
||||
<div class="line">}</div>
|
||||
<div class="line"><span class="keywordflow">if</span> (<a class="code hl_function" href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a>(tok) < stringlen)</div>
|
||||
<div class="line">{</div>
|
||||
<div class="line"> <span class="comment">// Handle extra characters after parsed object as desired.</span></div>
|
||||
<div class="line"> <span class="comment">// e.g. issue an error, parse another object from that point, etc...</span></div>
|
||||
<div class="line">}</div>
|
||||
<div class="line"><span class="comment">// Success, use jobj here.</span></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a0a31f0df8a532ef8be5c09ba40eacb59"><div class="ttname"><a href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a></div><div class="ttdeci">json_tokener_error</div><div class="ttdef"><b>Definition:</b> json_tokener.h:27</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0"><div class="ttname"><a href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59a9b26e920ca765df91c84e999561d8fb0">json_tokener_continue</a></div><div class="ttdeci">@ json_tokener_continue</div><div class="ttdef"><b>Definition:</b> json_tokener.h:29</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0"><div class="ttname"><a href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59afe2fa9bde03155019b2df30f66a5fcd0">json_tokener_success</a></div><div class="ttdeci">@ json_tokener_success</div><div class="ttdef"><b>Definition:</b> json_tokener.h:28</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a2c5f8ad4e8884ddcc11f741eac16d435"><div class="ttname"><a href="json__tokener_8h.html#a2c5f8ad4e8884ddcc11f741eac16d435">json_tokener_error_desc</a></div><div class="ttdeci">JSON_EXPORT const char * json_tokener_error_desc(enum json_tokener_error jerr)</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a4a2fa28d815f8b370cbb00b80ebc0f1d"><div class="ttname"><a href="json__tokener_8h.html#a4a2fa28d815f8b370cbb00b80ebc0f1d">json_tokener_get_parse_end</a></div><div class="ttdeci">JSON_EXPORT size_t json_tokener_get_parse_end(struct json_tokener *tok)</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_a6d39fd40a8720a1b96d9e0d8fea4afab"><div class="ttname"><a href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex</a></div><div class="ttdeci">JSON_EXPORT struct json_object * json_tokener_parse_ex(struct json_tokener *tok, const char *str, int len)</div></div>
|
||||
<div class="ttc" id="ajson__tokener_8h_html_af5d7ffd95a0f6e5d5bb5994d233b4197"><div class="ttname"><a href="json__tokener_8h.html#af5d7ffd95a0f6e5d5bb5994d233b4197">json_tokener_get_error</a></div><div class="ttdeci">JSON_EXPORT enum json_tokener_error json_tokener_get_error(struct json_tokener *tok)</div></div>
|
||||
<div class="ttc" id="ajson__types_8h_html_af27907ced0f5a43409ad96430fe0f914"><div class="ttname"><a href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></div><div class="ttdeci">struct json_object json_object</div><div class="ttdoc">The core type for all type of JSON objects handled by json-c.</div><div class="ttdef"><b>Definition:</b> json_types.h:47</div></div>
|
||||
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">tok</td><td>a <a class="el" href="structjson__tokener.html">json_tokener</a> previously allocated with <a class="el" href="json__tokener_8h.html#aa9ccdfe720ac77f7cbe0951c778b99d1">json_tokener_new()</a> </td></tr>
|
||||
<tr><td class="paramname">str</td><td>an string with any valid JSON expression, or portion of. This does not need to be null terminated. </td></tr>
|
||||
<tr><td class="paramname">len</td><td>the length of str </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab14722dd924b1940f18a3a9def2948c3" name="ab14722dd924b1940f18a3a9def2948c3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab14722dd924b1940f18a3a9def2948c3">◆ </a></span>json_tokener_parse_verbose()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_tokener_parse_verbose </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>str</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">enum <a class="el" href="json__tokener_8h.html#a0a31f0df8a532ef8be5c09ba40eacb59">json_tokener_error</a> * </td>
|
||||
<td class="paramname"><em>error</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Parse a json_object out of the string <code>str</code>, but if it fails return the error in <code>*error</code>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener_parse()</a> </dd>
|
||||
<dd>
|
||||
<a class="el" href="json__tokener_8h.html#a6d39fd40a8720a1b96d9e0d8fea4afab">json_tokener_parse_ex()</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a238649a59737be5152d525aeaf4153ab" name="a238649a59737be5152d525aeaf4153ab"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a238649a59737be5152d525aeaf4153ab">◆ </a></span>json_tokener_reset()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_reset </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||
<td class="paramname"><em>tok</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Reset the state of a <a class="el" href="structjson__tokener.html">json_tokener</a>, to prepare to parse a brand new JSON object. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a7e7a0c0c9dc79e5e47b2608bb8aad7b7" name="a7e7a0c0c9dc79e5e47b2608bb8aad7b7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7e7a0c0c9dc79e5e47b2608bb8aad7b7">◆ </a></span>json_tokener_set_flags()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> void json_tokener_set_flags </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">struct <a class="el" href="structjson__tokener.html">json_tokener</a> * </td>
|
||||
<td class="paramname"><em>tok</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>flags</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Set flags that control how parsing will be done. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
231
doc/html/json__types_8h.html
Normal file
@@ -0,0 +1,231 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_types.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Data Structures</a> |
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#typedef-members">Typedefs</a> |
|
||||
<a href="#enum-members">Enumerations</a> </div>
|
||||
<div class="headertitle"><div class="title">json_types.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Basic types used in a few places in json-c, but you should include "json_object.h" instead.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Data Structures</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structjson__object__iter.html">json_object_iter</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a>   extern</td></tr>
|
||||
<tr class="separator:a2a31d5c00f3a4712f2d5d62aee66344e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:af88126730e765f2068968f4b16fd074f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structjson__object__iter.html">json_object_iter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af88126730e765f2068968f4b16fd074f">json_object_iter</a></td></tr>
|
||||
<tr class="separator:af88126730e765f2068968f4b16fd074f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a81f02022906fafc71eb9197049f07f73"><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a></td></tr>
|
||||
<tr class="separator:a81f02022906fafc71eb9197049f07f73"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af27907ced0f5a43409ad96430fe0f914"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></td></tr>
|
||||
<tr class="memdesc:af27907ced0f5a43409ad96430fe0f914"><td class="mdescLeft"> </td><td class="mdescRight">The core type for all type of JSON objects handled by json-c. <a href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">More...</a><br /></td></tr>
|
||||
<tr class="separator:af27907ced0f5a43409ad96430fe0f914"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a57e58c272b899b7034c3b5137935117f"><td class="memItemLeft" align="right" valign="top">typedef void() </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a57e58c272b899b7034c3b5137935117f">json_object_delete_fn</a>(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, void *userdata)</td></tr>
|
||||
<tr class="separator:a57e58c272b899b7034c3b5137935117f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad689953451ffa828830d349f4cd72563"><td class="memItemLeft" align="right" valign="top">typedef int() </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#ad689953451ffa828830d349f4cd72563">json_object_to_json_string_fn</a>(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int level, int flags)</td></tr>
|
||||
<tr class="separator:ad689953451ffa828830d349f4cd72563"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4cd367452127a72e92e1c2ae8d1834df"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#a4cd367452127a72e92e1c2ae8d1834df">json_type</a></td></tr>
|
||||
<tr class="separator:a4cd367452127a72e92e1c2ae8d1834df"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:ac75c61993722a9b8aaa44704072ec06c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> { <br />
|
||||
  <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1">json_type_null</a>
|
||||
, <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c">json_type_boolean</a>
|
||||
, <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd">json_type_double</a>
|
||||
, <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956">json_type_int</a>
|
||||
, <br />
|
||||
  <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f">json_type_object</a>
|
||||
, <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c">json_type_array</a>
|
||||
, <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6">json_type_string</a>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="separator:ac75c61993722a9b8aaa44704072ec06c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Basic types used in a few places in json-c, but you should include "json_object.h" instead. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a2a31d5c00f3a4712f2d5d62aee66344e" name="a2a31d5c00f3a4712f2d5d62aee66344e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2a31d5c00f3a4712f2d5d62aee66344e">◆ </a></span>JSON_EXPORT</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_EXPORT   extern</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a81f02022906fafc71eb9197049f07f73" name="a81f02022906fafc71eb9197049f07f73"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a81f02022906fafc71eb9197049f07f73">◆ </a></span>json_bool</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef int <a class="el" href="json__types_8h.html#a81f02022906fafc71eb9197049f07f73">json_bool</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af27907ced0f5a43409ad96430fe0f914" name="af27907ced0f5a43409ad96430fe0f914"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af27907ced0f5a43409ad96430fe0f914">◆ </a></span>json_object</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The core type for all type of JSON objects handled by json-c. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a57e58c272b899b7034c3b5137935117f" name="a57e58c272b899b7034c3b5137935117f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a57e58c272b899b7034c3b5137935117f">◆ </a></span>json_object_delete_fn</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef void() json_object_delete_fn(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, void *userdata)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Type of custom user delete functions. See json_object_set_serializer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af88126730e765f2068968f4b16fd074f" name="af88126730e765f2068968f4b16fd074f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af88126730e765f2068968f4b16fd074f">◆ </a></span>json_object_iter</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef struct <a class="el" href="structjson__object__iter.html">json_object_iter</a> <a class="el" href="structjson__object__iter.html">json_object_iter</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad689953451ffa828830d349f4cd72563" name="ad689953451ffa828830d349f4cd72563"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad689953451ffa828830d349f4cd72563">◆ </a></span>json_object_to_json_string_fn</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef int() json_object_to_json_string_fn(struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, struct <a class="el" href="structprintbuf.html">printbuf</a> *pb, int level, int flags)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Type of a custom serialization function. See json_object_set_serializer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4cd367452127a72e92e1c2ae8d1834df" name="a4cd367452127a72e92e1c2ae8d1834df"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4cd367452127a72e92e1c2ae8d1834df">◆ </a></span>json_type</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a id="ac75c61993722a9b8aaa44704072ec06c" name="ac75c61993722a9b8aaa44704072ec06c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac75c61993722a9b8aaa44704072ec06c">◆ </a></span>json_type</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1" name="ac75c61993722a9b8aaa44704072ec06ca127e62d156e13517471fcde3378979c1"></a>json_type_null </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c" name="ac75c61993722a9b8aaa44704072ec06ca5d15299e90dbb9935ff6d3e2c22a285c"></a>json_type_boolean </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd" name="ac75c61993722a9b8aaa44704072ec06cac6ac2d9a16577d00210fea64d16b47cd"></a>json_type_double </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956" name="ac75c61993722a9b8aaa44704072ec06ca7bf325c213b43c5f970ae2d4443ab956"></a>json_type_int </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f" name="ac75c61993722a9b8aaa44704072ec06cac966c8008f0b2c07da59ee8a60ad440f"></a>json_type_object </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c" name="ac75c61993722a9b8aaa44704072ec06cae536c8c9da4648e6b9348abddde6113c"></a>json_type_array </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6" name="ac75c61993722a9b8aaa44704072ec06cac9f56e57c09245522d764015a054faa6"></a>json_type_string </td><td class="fielddoc"></td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
473
doc/html/json__util_8h.html
Normal file
@@ -0,0 +1,473 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_util.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_util.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Miscllaneous utility functions and macros.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a3dde282dc23d0eaa3c4840df8dc262d4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a3dde282dc23d0eaa3c4840df8dc262d4">json_min</a>(a, b)   ((a) < (b) ? (a) : (b))</td></tr>
|
||||
<tr class="separator:a3dde282dc23d0eaa3c4840df8dc262d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a57d63d199d4b9ea40359253618951300"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a57d63d199d4b9ea40359253618951300">json_max</a>(a, b)   ((a) > (b) ? (a) : (b))</td></tr>
|
||||
<tr class="separator:a57d63d199d4b9ea40359253618951300"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a084b6afc8f7fbef88976aabe4aca7efd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a084b6afc8f7fbef88976aabe4aca7efd">JSON_FILE_BUF_SIZE</a>   4096</td></tr>
|
||||
<tr class="separator:a084b6afc8f7fbef88976aabe4aca7efd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a588aec4a89d4d4c9c6eb524036d6ecc1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a588aec4a89d4d4c9c6eb524036d6ecc1">json_object_from_file</a> (const char *filename)</td></tr>
|
||||
<tr class="separator:a588aec4a89d4d4c9c6eb524036d6ecc1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afcf6a91c5f70ab38eab92d938c67475f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#afcf6a91c5f70ab38eab92d938c67475f">json_object_from_fd_ex</a> (int fd, int depth)</td></tr>
|
||||
<tr class="separator:afcf6a91c5f70ab38eab92d938c67475f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa07667602c9e92eb9bbc3e51c4dfd06d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#aa07667602c9e92eb9bbc3e51c4dfd06d">json_object_from_fd</a> (int fd)</td></tr>
|
||||
<tr class="separator:aa07667602c9e92eb9bbc3e51c4dfd06d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a486fc95fafe7cb91c58c7f6487036bc5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a486fc95fafe7cb91c58c7f6487036bc5">json_object_to_file</a> (const char *filename, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj)</td></tr>
|
||||
<tr class="separator:a486fc95fafe7cb91c58c7f6487036bc5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a68a7385c555cf21797e361d1d4de3441"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a68a7385c555cf21797e361d1d4de3441">json_object_to_file_ext</a> (const char *filename, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, int flags)</td></tr>
|
||||
<tr class="separator:a68a7385c555cf21797e361d1d4de3441"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afd492c120e359d2d75b67da96b580661"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_object_to_fd</a> (int fd, struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *obj, int flags)</td></tr>
|
||||
<tr class="separator:afd492c120e359d2d75b67da96b580661"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad69b0c53974fb6e503260b5b518151b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util_get_last_err</a> (void)</td></tr>
|
||||
<tr class="separator:ad69b0c53974fb6e503260b5b518151b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9d9a63936cdae6639b9cdd87fdd13506"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_parse_int64</a> (const char *buf, <a class="el" href="json__inttypes_8h.html#a67a9885ef4908cb72ce26d75b694386c">int64_t</a> *retval)</td></tr>
|
||||
<tr class="separator:a9d9a63936cdae6639b9cdd87fdd13506"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a94c2340c1344d57f7aa067f2dd0407f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_parse_uint64</a> (const char *buf, <a class="el" href="json__inttypes_8h.html#aec6fcb673ff035718c238c8c9d544c47">uint64_t</a> *retval)</td></tr>
|
||||
<tr class="separator:a94c2340c1344d57f7aa067f2dd0407f9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3f0f0b8f29a41b47d62e6c867707be50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a3f0f0b8f29a41b47d62e6c867707be50">json_parse_double</a> (const char *buf, double *retval)</td></tr>
|
||||
<tr class="separator:a3f0f0b8f29a41b47d62e6c867707be50"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0ff86f1188508b9ce4e774be6a0b2674"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="json__util_8h.html#a0ff86f1188508b9ce4e774be6a0b2674">json_type_to_name</a> (enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> o_type)</td></tr>
|
||||
<tr class="separator:a0ff86f1188508b9ce4e774be6a0b2674"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Miscllaneous utility functions and macros. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a084b6afc8f7fbef88976aabe4aca7efd" name="a084b6afc8f7fbef88976aabe4aca7efd"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a084b6afc8f7fbef88976aabe4aca7efd">◆ </a></span>JSON_FILE_BUF_SIZE</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_FILE_BUF_SIZE   4096</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a57d63d199d4b9ea40359253618951300" name="a57d63d199d4b9ea40359253618951300"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a57d63d199d4b9ea40359253618951300">◆ </a></span>json_max</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define json_max</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">a, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">b </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td>   ((a) > (b) ? (a) : (b))</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3dde282dc23d0eaa3c4840df8dc262d4" name="a3dde282dc23d0eaa3c4840df8dc262d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3dde282dc23d0eaa3c4840df8dc262d4">◆ </a></span>json_min</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define json_min</td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">a, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"> </td>
|
||||
<td class="paramname">b </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td>   ((a) < (b) ? (a) : (b))</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="aa07667602c9e92eb9bbc3e51c4dfd06d" name="aa07667602c9e92eb9bbc3e51c4dfd06d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa07667602c9e92eb9bbc3e51c4dfd06d">◆ </a></span>json_object_from_fd()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_object_from_fd </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>fd</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Create a JSON object from an already opened file descriptor, using the default maximum object depth. (JSON_TOKENER_DEFAULT_DEPTH)</p>
|
||||
<p >See <a class="el" href="json__util_8h.html#afcf6a91c5f70ab38eab92d938c67475f">json_object_from_fd_ex()</a> for details. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="afcf6a91c5f70ab38eab92d938c67475f" name="afcf6a91c5f70ab38eab92d938c67475f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afcf6a91c5f70ab38eab92d938c67475f">◆ </a></span>json_object_from_fd_ex()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_object_from_fd_ex </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>fd</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>depth</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Create a JSON object from already opened file descriptor.</p>
|
||||
<p >This function can be helpful, when you opened the file already, e.g. when you have a temp file. Note, that the fd must be readable at the actual position, i.e. use lseek(fd, 0, SEEK_SET) before.</p>
|
||||
<p >The depth argument specifies the maximum object depth to pass to <a class="el" href="json__tokener_8h.html#a9d9f1b78983dc1c68463f619b68b4563">json_tokener_new_ex()</a>. When depth == -1, JSON_TOKENER_DEFAULT_DEPTH is used instead.</p>
|
||||
<p >Returns NULL on failure. See <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util_get_last_err()</a> for details. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a588aec4a89d4d4c9c6eb524036d6ecc1" name="a588aec4a89d4d4c9c6eb524036d6ecc1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a588aec4a89d4d4c9c6eb524036d6ecc1">◆ </a></span>json_object_from_file()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * json_object_from_file </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>filename</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Read the full contents of the given file, then convert it to a json_object using <a class="el" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener_parse()</a>.</p>
|
||||
<p >Returns NULL on failure. See <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util_get_last_err()</a> for details. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="afd492c120e359d2d75b67da96b580661" name="afd492c120e359d2d75b67da96b580661"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afd492c120e359d2d75b67da96b580661">◆ </a></span>json_object_to_fd()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_fd </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>fd</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>flags</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Convert the json_object to a string and write it to the file descriptor. Handles partial writes and will keep writing until done, or an error occurs.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">fd</td><td>an open, writable file descriptor to write to </td></tr>
|
||||
<tr><td class="paramname">obj</td><td>the object to serializer and write </td></tr>
|
||||
<tr><td class="paramname">flags</td><td>flags to pass to <a class="el" href="json__object_8h.html#a47fe3e7980dc81a1d7f2ab303870789e">json_object_to_json_string_ext()</a> </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>-1 if something fails. See <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util_get_last_err()</a> for details. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a486fc95fafe7cb91c58c7f6487036bc5" name="a486fc95fafe7cb91c58c7f6487036bc5"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a486fc95fafe7cb91c58c7f6487036bc5">◆ </a></span>json_object_to_file()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_file </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>filename</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Equivalent to: json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN);</p>
|
||||
<p >Returns -1 if something fails. See <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util_get_last_err()</a> for details. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a68a7385c555cf21797e361d1d4de3441" name="a68a7385c555cf21797e361d1d4de3441"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a68a7385c555cf21797e361d1d4de3441">◆ </a></span>json_object_to_file_ext()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_object_to_file_ext </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>filename</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">struct <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>obj</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>flags</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Open and truncate the given file, creating it if necessary, then convert the json_object to a string and write it to the file.</p>
|
||||
<p >Returns -1 if something fails. See <a class="el" href="json__util_8h.html#ad69b0c53974fb6e503260b5b518151b3">json_util_get_last_err()</a> for details. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3f0f0b8f29a41b47d62e6c867707be50" name="a3f0f0b8f29a41b47d62e6c867707be50"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3f0f0b8f29a41b47d62e6c867707be50">◆ </a></span>json_parse_double()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_double </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>buf</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double * </td>
|
||||
<td class="paramname"><em>retval</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">Deprecated:</a></b></dt><dd></dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9d9a63936cdae6639b9cdd87fdd13506" name="a9d9a63936cdae6639b9cdd87fdd13506"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9d9a63936cdae6639b9cdd87fdd13506">◆ </a></span>json_parse_int64()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_int64 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>buf</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="el" href="json__inttypes_8h.html#a67a9885ef4908cb72ce26d75b694386c">int64_t</a> * </td>
|
||||
<td class="paramname"><em>retval</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >A parsing helper for integer values. Returns 0 on success, with the parsed value assigned to *retval. Overflow/underflow are NOT considered errors, but errno will be set to ERANGE, just like the strtol/strtoll functions do. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a94c2340c1344d57f7aa067f2dd0407f9" name="a94c2340c1344d57f7aa067f2dd0407f9"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a94c2340c1344d57f7aa067f2dd0407f9">◆ </a></span>json_parse_uint64()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_parse_uint64 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const char * </td>
|
||||
<td class="paramname"><em>buf</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="el" href="json__inttypes_8h.html#aec6fcb673ff035718c238c8c9d544c47">uint64_t</a> * </td>
|
||||
<td class="paramname"><em>retval</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >A parsing help for integer values, providing one extra bit of magnitude beyond <a class="el" href="json__util_8h.html#a9d9a63936cdae6639b9cdd87fdd13506">json_parse_int64()</a>. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a0ff86f1188508b9ce4e774be6a0b2674" name="a0ff86f1188508b9ce4e774be6a0b2674"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0ff86f1188508b9ce4e774be6a0b2674">◆ </a></span>json_type_to_name()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * json_type_to_name </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">enum <a class="el" href="json__types_8h.html#ac75c61993722a9b8aaa44704072ec06c">json_type</a> </td>
|
||||
<td class="paramname"><em>o_type</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Return a string describing the type of the object. e.g. "int", or "object", etc... </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad69b0c53974fb6e503260b5b518151b3" name="ad69b0c53974fb6e503260b5b518151b3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad69b0c53974fb6e503260b5b518151b3">◆ </a></span>json_util_get_last_err()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> const char * json_util_get_last_err </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Return the last error from various json-c functions, including: json_object_to_file{,<em>ext}, <a class="el" href="json__util_8h.html#afd492c120e359d2d75b67da96b580661">json_object_to_fd()</a> or json_object_from</em>{file,fd}, or NULL if there is none. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
248
doc/html/json__visit_8h.html
Normal file
@@ -0,0 +1,248 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: json_visit.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> |
|
||||
<a href="#typedef-members">Typedefs</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">json_visit.h File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Methods for walking a tree of objects.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ac5be4a96b99b724833943003715dfc1c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#ac5be4a96b99b724833943003715dfc1c">JSON_C_VISIT_SECOND</a>   0x02</td></tr>
|
||||
<tr class="separator:ac5be4a96b99b724833943003715dfc1c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a98b35e1ba1d52d41799dccbfd2c170a1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a98b35e1ba1d52d41799dccbfd2c170a1">JSON_C_VISIT_RETURN_CONTINUE</a>   0</td></tr>
|
||||
<tr class="separator:a98b35e1ba1d52d41799dccbfd2c170a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adc7ca60a79c4ae870d9463e41527c2a1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#adc7ca60a79c4ae870d9463e41527c2a1">JSON_C_VISIT_RETURN_SKIP</a>   7547</td></tr>
|
||||
<tr class="separator:adc7ca60a79c4ae870d9463e41527c2a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a327a21f1f1c6f84e7a13fbaaf4a51b13"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a327a21f1f1c6f84e7a13fbaaf4a51b13">JSON_C_VISIT_RETURN_POP</a>   767</td></tr>
|
||||
<tr class="separator:a327a21f1f1c6f84e7a13fbaaf4a51b13"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5956f41bed48f90a127f9b37fad7ea97"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a5956f41bed48f90a127f9b37fad7ea97">JSON_C_VISIT_RETURN_STOP</a>   7867</td></tr>
|
||||
<tr class="separator:a5956f41bed48f90a127f9b37fad7ea97"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abfacb0713b81c897a8ce5f37ff6ffb9c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#abfacb0713b81c897a8ce5f37ff6ffb9c">JSON_C_VISIT_RETURN_ERROR</a>   -1</td></tr>
|
||||
<tr class="separator:abfacb0713b81c897a8ce5f37ff6ffb9c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:a9e5b550cfae3f9cecd7a95b2cae336e0"><td class="memItemLeft" align="right" valign="top">typedef int() </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a9e5b550cfae3f9cecd7a95b2cae336e0">json_c_visit_userfunc</a>(<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, int flags, <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td></tr>
|
||||
<tr class="separator:a9e5b550cfae3f9cecd7a95b2cae336e0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a0f585e56a5d417381cdf6c28538dbb20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="json__visit_8h.html#a0f585e56a5d417381cdf6c28538dbb20">json_c_visit</a> (<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, int future_flags, <a class="el" href="json__visit_8h.html#a9e5b550cfae3f9cecd7a95b2cae336e0">json_c_visit_userfunc</a> *userfunc, void *userarg)</td></tr>
|
||||
<tr class="separator:a0f585e56a5d417381cdf6c28538dbb20"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >Methods for walking a tree of objects. </p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a98b35e1ba1d52d41799dccbfd2c170a1" name="a98b35e1ba1d52d41799dccbfd2c170a1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a98b35e1ba1d52d41799dccbfd2c170a1">◆ </a></span>JSON_C_VISIT_RETURN_CONTINUE</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VISIT_RETURN_CONTINUE   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This json_c_visit_userfunc return value indicates that iteration should proceed normally. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="abfacb0713b81c897a8ce5f37ff6ffb9c" name="abfacb0713b81c897a8ce5f37ff6ffb9c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#abfacb0713b81c897a8ce5f37ff6ffb9c">◆ </a></span>JSON_C_VISIT_RETURN_ERROR</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VISIT_RETURN_ERROR   -1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This json_c_visit_userfunc return value indicates that iteration should stop immediately, and cause json_c_visit to return an error. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a327a21f1f1c6f84e7a13fbaaf4a51b13" name="a327a21f1f1c6f84e7a13fbaaf4a51b13"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a327a21f1f1c6f84e7a13fbaaf4a51b13">◆ </a></span>JSON_C_VISIT_RETURN_POP</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VISIT_RETURN_POP   767</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This json_c_visit_userfunc return value indicates that iteration of the fields/elements of the <b>containing</b> object should stop and continue "popped up" a level of the object hierarchy. For example, returning this when handling arg will result in arg3 and any other fields being skipped. The next call to userfunc will be the JSON_C_VISIT_SECOND call on "foo", followed by a userfunc call on "bar". </p><pre>
|
||||
{
|
||||
"foo": {
|
||||
"arg1": 1,
|
||||
"arg2": 2,
|
||||
"arg3": 3,
|
||||
...
|
||||
},
|
||||
"bar": {
|
||||
...
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<a id="adc7ca60a79c4ae870d9463e41527c2a1" name="adc7ca60a79c4ae870d9463e41527c2a1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adc7ca60a79c4ae870d9463e41527c2a1">◆ </a></span>JSON_C_VISIT_RETURN_SKIP</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VISIT_RETURN_SKIP   7547</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This json_c_visit_userfunc return value indicates that iteration over the members of the current object should be skipped. If the current object isn't a container (array or object), this is no different than JSON_C_VISIT_RETURN_CONTINUE. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a5956f41bed48f90a127f9b37fad7ea97" name="a5956f41bed48f90a127f9b37fad7ea97"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5956f41bed48f90a127f9b37fad7ea97">◆ </a></span>JSON_C_VISIT_RETURN_STOP</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VISIT_RETURN_STOP   7867</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >This json_c_visit_userfunc return value indicates that iteration should stop immediately, and cause json_c_visit to return success. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac5be4a96b99b724833943003715dfc1c" name="ac5be4a96b99b724833943003715dfc1c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac5be4a96b99b724833943003715dfc1c">◆ </a></span>JSON_C_VISIT_SECOND</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define JSON_C_VISIT_SECOND   0x02</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Passed to json_c_visit_userfunc as one of the flags values to indicate that this is the second time a container (array or object) is being called, after all of it's members have been iterated over. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a9e5b550cfae3f9cecd7a95b2cae336e0" name="a9e5b550cfae3f9cecd7a95b2cae336e0"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9e5b550cfae3f9cecd7a95b2cae336e0">◆ </a></span>json_c_visit_userfunc</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef int() json_c_visit_userfunc(<a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *jso, int flags, <a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> *parent_jso, const char *jso_key, size_t *jso_index, void *userarg)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a0f585e56a5d417381cdf6c28538dbb20" name="a0f585e56a5d417381cdf6c28538dbb20"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0f585e56a5d417381cdf6c28538dbb20">◆ </a></span>json_c_visit()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="printbuf_8h.html#a2a31d5c00f3a4712f2d5d62aee66344e">JSON_EXPORT</a> int json_c_visit </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="json__types_8h.html#af27907ced0f5a43409ad96430fe0f914">json_object</a> * </td>
|
||||
<td class="paramname"><em>jso</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int </td>
|
||||
<td class="paramname"><em>future_flags</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="el" href="json__visit_8h.html#a9e5b550cfae3f9cecd7a95b2cae336e0">json_c_visit_userfunc</a> * </td>
|
||||
<td class="paramname"><em>userfunc</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"><em>userarg</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p >Visit each object in the JSON hierarchy starting at jso. For each object, userfunc is called, passing the object and userarg. If the object has a parent (i.e. anything other than jso itself) its parent will be passed as parent_jso, and either jso_key or jso_index will be set, depending on whether the parent is an object or an array.</p>
|
||||
<p >Nodes will be visited depth first, but containers (arrays and objects) will be visited twice, the second time with JSON_C_VISIT_SECOND set in flags.</p>
|
||||
<p >userfunc must return one of the defined return values, to indicate whether and how to continue visiting nodes, or one of various ways to stop.</p>
|
||||
<p >Returns 0 if nodes were visited successfully, even if some were intentionally skipped due to what userfunc returned. Returns <0 if an error occurred during iteration, including if userfunc returned JSON_C_VISIT_RETURN_ERROR. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
1152
doc/html/linkhash_8h.html
Normal file
315
doc/html/md_issues_closed_for_0_13.html
Normal file
@@ -0,0 +1,315 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.13</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.13 </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p >This list was created with:</p>
|
||||
<pre class="fragment">curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=1" > issues1.out
|
||||
curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=2" > issues2.out
|
||||
curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2014-04-10+created%3A<2017-12-01&sort=created&order=asc&per_page=400&page=3" > issues3.out
|
||||
jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md
|
||||
sed -e's,^\[ *\‍(.*\‍)\](https://api.github.com/.*/\‍([0-9].*\‍)),[Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||
#... manual editing ...
|
||||
</pre><hr />
|
||||
<p >Issues and Pull Requests closed for the 0.13 release (since commit f84d9c, the 0.12 branch point, 2014-04-10)</p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/61">Issue #61</a> - Make <a class="el" href="json__object_8h.html#a27bd808a022251059a43f1f6370441cd">json_object_object_add()</a> indicate success or failure, test fix \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/113">Issue #113</a> - Build fixes (make dist and make distcheck) \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/124">Issue #124</a> - Fixing build \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/125">Issue #125</a> - Fix compile error(variable size set but not used) on g++4.6 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/126">Issue #126</a> - Removed unused size variable. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/127">Issue #127</a> - remove unused <code>size</code> variable \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/128">Issue #128</a> - Remove unused variable from json_tokenizer.c \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/130">Issue #130</a> - Failed to compile under Ubuntu 13.10 32bit \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/131">Issue #131</a> - undefined symbol: __sync_val_compare_and_swap_4 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/132">Issue #132</a> - Remove unused variable 'size' \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/133">Issue #133</a> - Update and rename README to <a class="el" href="README_8md.html">README.md</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/134">Issue #134</a> - Must remove variable size... \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/135">Issue #135</a> - bits.h uses removed json_tokener_errors[error] \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/136">Issue #136</a> - Error when running make check \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/137">Issue #137</a> - config.h.in should not be in git \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/138">Issue #138</a> - Can't build on RHEL 6.5 due to dependency on automake-1.14 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/140">Issue #140</a> - Code bug in random_test.c evaluating same expression twice \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/141">Issue #141</a> - Removed duplicate check in random_seed test - bug #140 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/142">Issue #142</a> - Please undeprecate json_object_object_get \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/144">Issue #144</a> - Introduce json_object_from_fd \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/145">Issue #145</a> - Handle % character properly \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/146">Issue #146</a> - TAGS rename \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/148">Issue #148</a> - Bump the soname \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/149">Issue #149</a> - SONAME bump \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/150">Issue #150</a> - Fix build using MinGW. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/151">Issue #151</a> - Remove json_type enum trailing comma \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/152">Issue #152</a> - error while compiling json-c library version 0.11 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/153">Issue #153</a> - improve doc for <a class="el" href="json__object_8h.html#a0764ef8e72297c8f0514ddcfd8ae530e">json_object_to_json_string()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/154">Issue #154</a> - double precision \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/155">Issue #155</a> - add bsearch for arrays \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/156">Issue #156</a> - Remove trailing whitespaces \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/157">Issue #157</a> - JSON-C shall not exit on calloc fail. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/158">Issue #158</a> - while using json-c 0.11, I am facing strange crash issue in json_object_put. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/159">Issue #159</a> - json_tokener.c compile error \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/160">Issue #160</a> - missing header file on windows?? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/161">Issue #161</a> - Is there a way to append to file? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/162">Issue #162</a> - json_util: add directory check for POSIX distros \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/163">Issue #163</a> - Fix Win32 build problems \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/164">Issue #164</a> - made it compile and link on Widnows (as static library) \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/165">Issue #165</a> - json_object_to_json_string_ext length \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/167">Issue #167</a> - Can't build on Windows with Visual Studio 2010 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/168">Issue #168</a> - Tightening the number parsing algorithm \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/169">Issue #169</a> - Doesn't compile on ubuntu 14.04, 64bit \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/170">Issue #170</a> - Generated files in repository \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/171">Issue #171</a> - Update configuration for VS2010 and win64 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/172">Issue #172</a> - Adding support for parsing octal numbers \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/173">Issue #173</a> - json_parse_int64 doesn't work correctly at illumos \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/174">Issue #174</a> - Adding JSON_C_TO_STRING_PRETTY_TAB flag \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/175">Issue #175</a> - make check fails 4 tests with overflows when built with ASAN \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/176">Issue #176</a> - Possible to delete an array element at a given idx ? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/177">Issue #177</a> - Fix compiler warnings \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/178">Issue #178</a> - Unable to compile on CentOS5 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/179">Issue #179</a> - Added array_list_del_idx and json_object_array_del_idx \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/180">Issue #180</a> - Enable silent build by default \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/181">Issue #181</a> - json_tokener_parse_ex accepts invalid JSON \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/182">Issue #182</a> - Link against libm when needed \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/183">Issue #183</a> - Apply compile warning fix to master branch \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/184">Issue #184</a> - Use only GCC-specific flags when compiling with GCC \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/185">Issue #185</a> - compile error \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/186">Issue #186</a> - Syntax error \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/187">Issue #187</a> - array_list_get_idx and negative indexes. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/188">Issue #188</a> - json_object_object_foreach warnings \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/189">Issue #189</a> - noisy json_object_from_file: error opening file \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/190">Issue #190</a> - warning: initialization discards const qualifier from pointer target type [enabled by default] \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/192">Issue #192</a> - json_tokener_parse accepts invalid JSON {"key": "value" , } \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/193">Issue #193</a> - Make serialization format of doubles configurable \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/194">Issue #194</a> - Add utility function for comparing json_objects \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/195">Issue #195</a> - Call uselocale instead of setlocale \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/196">Issue #196</a> - Performance improvements \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/197">Issue #197</a> - Time for a new release? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/198">Issue #198</a> - Fix possible memory leak and remove superfluous NULL checks before free() \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/199">Issue #199</a> - Fix build in Visual Studio \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/200">Issue #200</a> - Add build scripts for CI platforms \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/201">Issue #201</a> - disable forward-slash escaping? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/202">Issue #202</a> - Array with objects support \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/203">Issue #203</a> - Add source position/coordinates to API \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/204">Issue #204</a> - json-c/json.h not found \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/205">Issue #205</a> - json-c Compiled with Visual Studios \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/206">Issue #206</a> - what do i use in place of json_object_object_get? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/207">Issue #207</a> - Add support for property pairs directly added to arrays \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/208">Issue #208</a> - Performance enhancements (mainly) to <a class="el" href="json__object_8h.html#a0764ef8e72297c8f0514ddcfd8ae530e">json_object_to_json_string()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/209">Issue #209</a> - fix regression from 2d549662be832da838aa063da2efa78ee3b99668 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/210">Issue #210</a> - Use size_t for arrays \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/211">Issue #211</a> - Atomic updates for the refcount \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/212">Issue #212</a> - Refcount doesn't work between threads \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/213">Issue #213</a> - fix to compile with microsoft visual c++ 2010 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/214">Issue #214</a> - Some non-GNU systems support __sync_val_compare_and_swap \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/215">Issue #215</a> - Build json-c for window 64 bit. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/216">Issue #216</a> - configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/217">Issue #217</a> - Checking for functions in float.h \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/218">Issue #218</a> - Use a macro to indicate C99 to the compiler \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/219">Issue #219</a> - Fix various potential null ptr deref and int32 overflows \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/220">Issue #220</a> - Add utility function for comparing json_objects \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/221">Issue #221</a> - JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/222">Issue #222</a> - Fix issue #221: JSON_C_TO_STRING_NOSLASHESCAPE works incorrectly \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/223">Issue #223</a> - Clarify json_object_get_string documentation of NULL handling & return \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/224">Issue #224</a> - json_tokener.c - all warnings being treated as errors \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/225">Issue #225</a> - Hi, will you support clib as a "registry"? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/227">Issue #227</a> - Bump SOVERSION to 3 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/228">Issue #228</a> - avoid double slashes from json \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/229">Issue #229</a> - configure fails: checking size of size_t... configure: error: cannot determine a size for size_t \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/230">Issue #230</a> - Use stdint.h to check for size_t size \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/231">Issue #231</a> - Fix size_t size check for first-time builds \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/232">Issue #232</a> - tests/tests1: fix printf format for size_t arguments \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/233">Issue #233</a> - Include stddef.h in <a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/234">Issue #234</a> - Add public API to use userdata independently of custom serializer \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/235">Issue #235</a> - Undefined symbols Error for architecture x86_64 on Mac \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/236">Issue #236</a> - Building a project which uses json-c with flag -Wcast-qual causes compilation errors \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/237">Issue #237</a> - handle escaped utf-8 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/238">Issue #238</a> - linkhash.c: optimised the table_free path \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/239">Issue #239</a> - initialize null terminator of new printbuf \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/240">Issue #240</a> - Compile error: Variable set but not used \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/241">Issue #241</a> - getting error in date string 19\/07\/2016, fixed for error 19/07/2016 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/242">Issue #242</a> - json_tokener_parse error \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/243">Issue #243</a> - Fix #165 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/244">Issue #244</a> - Error while compiling source from RHEL5, could you please help me to fix this \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/245">Issue #245</a> - json-c compile in window xp \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/246">Issue #246</a> - Mac: uselocale failed to build \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/247">Issue #247</a> - json_object_array_del_idx function has segment fault error? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/248">Issue #248</a> - Minor changes in C source code \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/249">Issue #249</a> - Improving README \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/250">Issue #250</a> - Improving .gitignore \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/251">Issue #251</a> - Adding a file for EditorConfig \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/252">Issue #252</a> - Very minor changes not related to C source code \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/253">Issue #253</a> - Adding a test with cppcheck for Travis CI \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/254">Issue #254</a> - Very minor changes to some tests \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/255">Issue #255</a> - Minor changes in C source code \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/256">Issue #256</a> - Mailing list dead? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/257">Issue #257</a> - Defining a coding style \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/258">Issue #258</a> - Enable CI services \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/259">Issue #259</a> - Fails to parse valid json \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/260">Issue #260</a> - Adding an object to itself \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/261">Issue #261</a> - Lack of proper documentation \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/262">Issue #262</a> - Add Cmakefile and fix compiler warning. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/263">Issue #263</a> - Compiler Warnings with VS2015 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/264">Issue #264</a> - successed in simple test while failed in my project \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/265">Issue #265</a> - Conformance report for reference \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/266">Issue #266</a> - crash perhaps related to reference counting \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/267">Issue #267</a> - Removes me as Win32 maintainer, because I'm not. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/268">Issue #268</a> - Documentation of json_object_to_json_string gives no information about memory management \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/269">Issue #269</a> - json_object_<type>_set(json_object *o,<type> value) API for value setting in json object private structure \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/270">Issue #270</a> - new API json_object_new_double_f(doubel d,const char * fmt); \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/271">Issue #271</a> - Cannot compile using CMake on macOS \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/273">Issue #273</a> - fixed wrong object name in json_object_all_values_equal \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/274">Issue #274</a> - Support for 64 bit pointers on Windows \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/275">Issue #275</a> - Out-of-bounds read in json_tokener_parse_ex \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/276">Issue #276</a> - ./configure for centos release 6.7(final) failure \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/277">Issue #277</a> - Json object set xxx \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/278">Issue #278</a> - Serialization of double with no fractional component drops trailing zero \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/279">Issue #279</a> - Segmentation fault in <a class="el" href="arraylist_8h.html#aa3bf90f47aa210032304b14e7ad09ef7">array_list_length()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/280">Issue #280</a> - Should json_object_array_get_idx check whether input obj is array? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/281">Issue #281</a> - how to pretty print json-c? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/282">Issue #282</a> - ignore temporary files \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/283">Issue #283</a> - json_pointer: add first revision based on RFC 6901 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/284">Issue #284</a> - Resusing <a class="el" href="structjson__tokener.html">json_tokener</a> object \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/285">Issue #285</a> - Revert "compat/strdup.h: move common compat check for strdup() to own \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/286">https://github.com/json-c/json-c/issues/286</a>" >Issue #286</a> - json_tokener_parse_ex() returns json_tokener_continue on zero-length string \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/287">https://github.com/json-c/json-c/issues/287</a>" >Issue #287</a> - json_pointer: extend setter & getter with printf() style arguments \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/288">https://github.com/json-c/json-c/issues/288</a>" >Issue #288</a> - Fix _GNU_SOURCE define for vasprintf \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/289">https://github.com/json-c/json-c/issues/289</a>" >Issue #289</a> - bugfix: floating point representaion without fractional part \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/290">https://github.com/json-c/json-c/issues/290</a>" >Issue #290</a> - duplicate an json_object \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/291">https://github.com/json-c/json-c/issues/291</a>" >Issue #291</a> - isspace assert error \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/292">https://github.com/json-c/json-c/issues/292</a>" >Issue #292</a> - configure error "./configure: line 13121: syntax error near unexpected token `-Wall'" \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/293">https://github.com/json-c/json-c/issues/293</a>" >Issue #293</a> - how to make with bitcode for ios \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/294">https://github.com/json-c/json-c/issues/294</a>" >Issue #294</a> - Adding UTF-8 validation. Fixes #122 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/295">https://github.com/json-c/json-c/issues/295</a>" >Issue #295</a> - cross compile w/ mingw \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/296">https://github.com/json-c/json-c/issues/296</a>" >Issue #296</a> - Missing functions header in json_object.h \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/297">https://github.com/json-c/json-c/issues/297</a>" >Issue #297</a> - could not parse string to Json object? Like string str=\"helloworld;E\\test\\log\\;end\" \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/298">https://github.com/json-c/json-c/issues/298</a>" >Issue #298</a> - Building using CMake doesn't work \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/299">https://github.com/json-c/json-c/issues/299</a>" >Issue #299</a> - Improve json_object -> string performance \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/300">https://github.com/json-c/json-c/issues/300</a>" >Issue #300</a> - Running tests with MinGW build \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/301">https://github.com/json-c/json-c/issues/301</a>" >Issue #301</a> - How to deep copy json_object in C++ ? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/302">https://github.com/json-c/json-c/issues/302</a>" >Issue #302</a> - json_tokener_parse_ex doesn't parse JSON values \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/303">https://github.com/json-c/json-c/issues/303</a>" >Issue #303</a> - fix doc in tokener header file \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/304">https://github.com/json-c/json-c/issues/304</a>" >Issue #304</a> - (.text+0x72846): undefined reference to &lsquo;is_error&rsquo; \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/305">https://github.com/json-c/json-c/issues/305</a>" >Issue #305</a> - Fix compilation without C-99 option \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/306">https://github.com/json-c/json-c/issues/306</a>" >Issue #306</a> - ./configure: line 12748 -error=deprecated-declarations \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/307">https://github.com/json-c/json-c/issues/307</a>" >Issue #307</a> - Memory leak in json_tokener_parse \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/308">https://github.com/json-c/json-c/issues/308</a>" >Issue #308</a> - AM_PROG_LIBTOOL not found on Linux \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/309">https://github.com/json-c/json-c/issues/309</a>" >Issue #309</a> - GCC 7 reports various -Wimplicit-fallthrough= errors \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/310">https://github.com/json-c/json-c/issues/310</a>" >Issue #310</a> - Add FALLTHRU comment to handle GCC7 warnings. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/311">https://github.com/json-c/json-c/issues/311</a>" >Issue #311</a> - Fix error C3688 when compiling on Visual Studio 2015 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/312">https://github.com/json-c/json-c/issues/312</a>" >Issue #312</a> - Fix CMake Build process improved for MinGW and MSYS2 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/313">https://github.com/json-c/json-c/issues/313</a>" >Issue #313</a> - VERBOSE=1 make check; tests/test_util_file.test.c and tests/test_util_file.expected out of sync \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/315">https://github.com/json-c/json-c/issues/315</a>" >Issue #315</a> - Passing -1 to json_tokener_parse_ex is possibly unsafe \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/316">https://github.com/json-c/json-c/issues/316</a>" >Issue #316</a> - Memory Returned by json_object_to_json_string not freed \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/317">https://github.com/json-c/json-c/issues/317</a>" >Issue #317</a> - json_object_get_string gives segmentation error \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/318">https://github.com/json-c/json-c/issues/318</a>" >Issue #318</a> - PVS-Studio static analyzer analyze results \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/319">https://github.com/json-c/json-c/issues/319</a>" >Issue #319</a> - Windows: Fix dynamic library build with Visual Studio \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/320">https://github.com/json-c/json-c/issues/320</a>" >Issue #320</a> - Can't compile in Mac OS X El Capitan \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/321">https://github.com/json-c/json-c/issues/321</a>" >Issue #321</a> - build,cmake: fix vasprintf implicit definition and generate both static & shared libs \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/322">https://github.com/json-c/json-c/issues/322</a>" >Issue #322</a> - can not link with libjson-c.a \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/323">https://github.com/json-c/json-c/issues/323</a>" >Issue #323</a> - implicit fallthrough detected by gcc 7.1 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/324">https://github.com/json-c/json-c/issues/324</a>" >Issue #324</a> - JsonPath like function? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/325">https://github.com/json-c/json-c/issues/325</a>" >Issue #325</a> - Fix stack buffer overflow in json_object_double_to_json_string_format() \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/327">https://github.com/json-c/json-c/issues/327</a>" >Issue #327</a> - why json-c so hard to compile \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/328">https://github.com/json-c/json-c/issues/328</a>" >Issue #328</a> - json_object: implement json_object_deep_copy() function \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/329">https://github.com/json-c/json-c/issues/329</a>" >Issue #329</a> - build,cmake: build,cmake: rename libjson-c-static.a to libjson-c.a \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/330">https://github.com/json-c/json-c/issues/330</a>" >Issue #330</a> - tests: symlink basic tests to a single file that has the common code \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/331">https://github.com/json-c/json-c/issues/331</a>" >Issue #331</a> - Safe use of snprintf() / vsnprintf() for Visual studio, and thread-safety fix \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/332">https://github.com/json-c/json-c/issues/332</a>" >Issue #332</a> - Valgrind: invalid read after json_object_array_del_idx. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/333">https://github.com/json-c/json-c/issues/333</a>" >Issue #333</a> - Replace obsolete AM_PROG_LIBTOOL \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/335">https://github.com/json-c/json-c/issues/335</a>" >Issue #335</a> - README.md: show build status tag from travis-ci.org \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/336">https://github.com/json-c/json-c/issues/336</a>" >Issue #336</a> - tests: fix tests in travis-ci.org \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/337">https://github.com/json-c/json-c/issues/337</a>" >Issue #337</a> - Synchronize "potentially racy" random seed in lh_char_hash() \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/338">https://github.com/json-c/json-c/issues/338</a>" >Issue #338</a> - implement json_object_int_inc(json_object *, int64_t) \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/339">https://github.com/json-c/json-c/issues/339</a>" >Issue #339</a> - Json schema validation \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/340">https://github.com/json-c/json-c/issues/340</a>" >Issue #340</a> - strerror_override: add extern "C" and JSON_EXPORT specifiers for Visual C++ compilers \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/341">https://github.com/json-c/json-c/issues/341</a>" >Issue #341</a> - character "/" parse as "\/" \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/342">https://github.com/json-c/json-c/issues/342</a>" >Issue #342</a> - No such file or directory "/usr/include/json.h" \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/343">https://github.com/json-c/json-c/issues/343</a>" >Issue #343</a> - Can't parse json \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/344">https://github.com/json-c/json-c/issues/344</a>" >Issue #344</a> - Fix Mingw build \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/345">https://github.com/json-c/json-c/issues/345</a>" >Issue #345</a> - Fix make dist and make distcheck \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/346">https://github.com/json-c/json-c/issues/346</a>" >Issue #346</a> - Clamp double to int32 when narrowing in json_object_get_int. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/347">https://github.com/json-c/json-c/issues/347</a>" >Issue #347</a> - MSVC linker error json_c_strerror \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/348">https://github.com/json-c/json-c/issues/348</a>" >Issue #348</a> - why \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/349">https://github.com/json-c/json-c/issues/349</a>" >Issue #349</a> - <tt>missing</tt> is missing? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/350">https://github.com/json-c/json-c/issues/350</a>" >Issue #350</a> - stderror-override and disable-shared \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/351">https://github.com/json-c/json-c/issues/351</a>" >Issue #351</a> - SIZE_T_MAX redefined from limits.h \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/352">https://github.com/json-c/json-c/issues/352</a>" >Issue #352</a> - <tt>INSTALL</tt> overrides an automake script. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/353">https://github.com/json-c/json-c/issues/353</a>" >Issue #353</a> - Documentation issues \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/354">https://github.com/json-c/json-c/issues/354</a>" >Issue #354</a> - Fixes #351 #352 #353 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/355">https://github.com/json-c/json-c/issues/355</a>" >Issue #355</a> - 1.make it can been compiled with Visual Studio 2010 by modify the CMakeList.txt and others \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/356">https://github.com/json-c/json-c/issues/356</a>" >Issue #356</a> - VS2008 test test_util_file.cpp err! \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/357">https://github.com/json-c/json-c/issues/357</a>" >Issue #357</a> - __json_c_strerror incompatibility with link-time optimization \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/358">https://github.com/json-c/json-c/issues/358</a>" >Issue #358</a> - make issue \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/359">https://github.com/json-c/json-c/issues/359</a>" >Issue #359</a> - update CMakeLists.txt for compile with visual studio at least 2010 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/360">https://github.com/json-c/json-c/issues/360</a>" >Issue #360</a> - Use strtoll() to parse ints \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/361">https://github.com/json-c/json-c/issues/361</a>" >Issue #361</a> - Fix double to int cast overflow in json_object_get_int64. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/362">https://github.com/json-c/json-c/issues/362</a>" >Issue #362</a> - CMake Package Config \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/363">https://github.com/json-c/json-c/issues/363</a>" >Issue #363</a> - Issue #338, add json_object_add_int functions \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/364">https://github.com/json-c/json-c/issues/364</a>" >Issue #364</a> - Cmake is Errir \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/365">https://github.com/json-c/json-c/issues/365</a>" >Issue #365</a> - added fallthrough for gcc7 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/366">https://github.com/json-c/json-c/issues/366</a>" >Issue #366</a> - how to check the json string,crash! \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/367">https://github.com/json-c/json-c/issues/367</a>" >Issue #367</a> - Is json-c support "redirect" semantic? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/368">https://github.com/json-c/json-c/issues/368</a>" >Issue #368</a> - Add examples \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/369">https://github.com/json-c/json-c/issues/369</a>" >Issue #369</a> - How to build json-c library for android? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/370">https://github.com/json-c/json-c/issues/370</a>" >Issue #370</a> - Compiling using clang-cl \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/371">https://github.com/json-c/json-c/issues/371</a>" >Issue #371</a> - Invalid parsing for Infinity with json-c 0.12 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/372">https://github.com/json-c/json-c/issues/372</a>" >Issue #372</a> - Json-c 0.12: Fixed Infinity bug \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/373">https://github.com/json-c/json-c/issues/373</a>" >Issue #373</a> - build: fix build on appveyor CI \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/374">https://github.com/json-c/json-c/issues/374</a>" >Issue #374</a> - Undefined symbols for architecture x86_64: \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/375">https://github.com/json-c/json-c/issues/375</a>" >Issue #375</a> - what would happened when json_object_object_add add the same key \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/376">https://github.com/json-c/json-c/issues/376</a>" >Issue #376</a> - Eclipse error \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/377">https://github.com/json-c/json-c/issues/377</a>" >Issue #377</a> - on gcc 7.2.0 on my linux distribution with json-c 2013-04-02 source \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/378">https://github.com/json-c/json-c/issues/378</a>" >Issue #378</a> - Eclipse: library (libjson-c) not found, but configured \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/379">https://github.com/json-c/json-c/issues/379</a>" >Issue #379</a> - error: this statement may fall through [-Werror=implicit-fallthrough=] \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/380">https://github.com/json-c/json-c/issues/380</a>" >Issue #380</a> - Build on Windows \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/381">https://github.com/json-c/json-c/issues/381</a>" >Issue #381</a> - Fix makedist \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/382">https://github.com/json-c/json-c/issues/382</a>" >Issue #382</a> - Memory leak for json_tokener_parse_ex for version 0.12.1 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/383">https://github.com/json-c/json-c/issues/383</a>" >Issue #383</a> - Fix a compiler warning. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/384">https://github.com/json-c/json-c/issues/384</a>" >Issue #384 - Fix a VS 2015 compiler warnings. \ </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
250
doc/html/md_issues_closed_for_0_14.html
Normal file
@@ -0,0 +1,250 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.14</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.14 </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p >This list was created with:</p>
|
||||
<pre class="fragment">curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2017-12-07+created%3A<2020-04-17&sort=created&order=asc&per_page=400&page=1" > issues1.out
|
||||
curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2017-12-07+created%3A<2020-04-17&sort=created&order=asc&per_page=400&page=2" > issues2.out
|
||||
curl https://api.github.com/search/issues?q="repo%3Ajson-c%2Fjson-c+closed%3A>2017-12-07+created%3A<2020-04-17&sort=created&order=asc&per_page=400&page=3" > issues3.out
|
||||
jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md
|
||||
sed -e's,^\[ *\‍(.*\‍)\](https://api.github.com/.*/\‍([0-9].*\‍)),[Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||
#... manual editing ...
|
||||
</pre><hr />
|
||||
<p >Issues and Pull Requests closed for the 0.14 release (since commit d582d3a(2017-12-07) to a911439(2020-04-17))</p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/122">Issue #122</a> - Add utf-8 validation when parsing strings. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/139">Issue #139</a> - json_object_from_file cannot accept max_depth \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/143">Issue #143</a> - RFE / enhancement for full 64-bit signed/unsigned support \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/147">Issue #147</a> - Please introduce soname bump if API changed \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/166">Issue #166</a> - Need a way to specify nesting depth when opening JSON file \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/226">Issue #226</a> - There is no <a class="el" href="json__object_8h.html#ab5cf5892e25af49f33582d77f0e010c8">json_object_new_null()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/314">Issue #314</a> - new release ? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/326">Issue #326</a> - Please extend api json_object_get_uint64 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/334">Issue #334</a> - Switch json-c builds to use CMake \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/386">Issue #386</a> - Makefile: Add ACLOCAL_AMFLAGS \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/387">Issue #387</a> - doc: Use other doxygen feature to specify mainpage \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/388">Issue #388</a> - json_object: Add size_t json_object_sizeof() \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/389">Issue #389</a> - json_object: Avoid double free (and thus a segfault) when ref_count gets < 0 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/390">Issue #390</a> - json_object: Add const size_t <a class="el" href="json__object_8h.html#af50be932ec85694ae40141b46901bd00">json_c_object_sizeof()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/391">Issue #391</a> - Fix non-GNUC define for JSON_C_CONST_FUNCTION \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/392">Issue #392</a> - json_object: Avoid invalid free (and thus a segfault) when ref_count gets < 0 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/393">Issue #393</a> - json_object_private: Use unsigned 32-bit integer type for refcount \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/394">Issue #394</a> - Problem serializing double \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/395">Issue #395</a> - Key gets modified if it contains "\" \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/396">https://github.com/json-c/json-c/issues/396</a>" >Issue #396</a> - Build failure with no threads uClibc toolchain \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/397">https://github.com/json-c/json-c/issues/397</a>" >Issue #397</a> - update json object with key. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/398">https://github.com/json-c/json-c/issues/398</a>" >Issue #398</a> - Build failed. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/399">https://github.com/json-c/json-c/issues/399</a>" >Issue #399</a> - Avoid uninitialized variable warnings \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/400">https://github.com/json-c/json-c/issues/400</a>" >Issue #400</a> - How to generate static lib (.a) \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/401">https://github.com/json-c/json-c/issues/401</a>" >Issue #401</a> - Warnings with Valgrind \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/402">https://github.com/json-c/json-c/issues/402</a>" >Issue #402</a> - Add fuzzers from OSS-Fuzz \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/403">https://github.com/json-c/json-c/issues/403</a>" >Issue #403</a> - Segmentation fault when double quotes is used \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/404">https://github.com/json-c/json-c/issues/404</a>" >Issue #404</a> - valgrind: memory leak \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/405">https://github.com/json-c/json-c/issues/405</a>" >Issue #405</a> - Missing API to determine an object is empty \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/406">https://github.com/json-c/json-c/issues/406</a>" >Issue #406</a> - Undefine NDEBUG for tests \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/407">https://github.com/json-c/json-c/issues/407</a>" >Issue #407</a> - json_tokener_parse is crash \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/408">https://github.com/json-c/json-c/issues/408</a>" >Issue #408</a> - bug in array_list_del_idx when array_list_length()==1 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/410">https://github.com/json-c/json-c/issues/410</a>" >Issue #410</a> - Fixed typos \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/411">https://github.com/json-c/json-c/issues/411</a>" >Issue #411</a> - Crash- signal SIGSEGV, Segmentation fault. ../sysdeps/x86_64/strlen.S: No such file or directory. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/412">https://github.com/json-c/json-c/issues/412</a>" >Issue #412</a> - json_type changes during inter process communication. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/413">https://github.com/json-c/json-c/issues/413</a>" >Issue #413</a> - how to read object of type <tt>json_object *</tt> in c++ \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/414">https://github.com/json-c/json-c/issues/414</a>" >Issue #414</a> - [Question] How JSON-c stores the serialized data in memory? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/415">https://github.com/json-c/json-c/issues/415</a>" >Issue #415</a> - Resolve windows name conflict \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/416">https://github.com/json-c/json-c/issues/416</a>" >Issue #416</a> - segmentation fault in json_tokener_parse \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/417">https://github.com/json-c/json-c/issues/417</a>" >Issue #417</a> - json_tokener_parse json_object_object_get_ex with string value which is json string \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/418">https://github.com/json-c/json-c/issues/418</a>" >Issue #418</a> - json_object_from_* return value documented incorrectly \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/419">https://github.com/json-c/json-c/issues/419</a>" >Issue #419</a> - Suggestion: document (and define) that json_object_put() accepts NULL pointer to object \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/420">https://github.com/json-c/json-c/issues/420</a>" >Issue #420</a> - arraylist: Fixed names of parameters for callback function \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/421">https://github.com/json-c/json-c/issues/421</a>" >Issue #421</a> - install json_object_iterator.h header file \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/422">https://github.com/json-c/json-c/issues/422</a>" >Issue #422</a> - json_object_get_double() does not set errno when there is no valid conversion \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/423">https://github.com/json-c/json-c/issues/423</a>" >Issue #423</a> - memory leak \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/424">https://github.com/json-c/json-c/issues/424</a>" >Issue #424</a> - Parse string contains "" or "/" errors \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/425">Issue #425</a> - what this is? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/426">Issue #426</a> - __deprecated not supported on clang. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/427">Issue #427</a> - CMake: builds involving this target will not be correct \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/430">Issue #430</a> - <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object_object_del()</a> and Segmentation fault \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/431">Issue #431</a> - cmake: Bump required version \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/432">Issue #432</a> - The real CMake support. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/433">Issue #433</a> - The real CMake support. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/434">Issue #434</a> - The real CMake support \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/435">Issue #435</a> - <a class="el" href="json__object_8h.html#ac6605fdafca20bd5d33c84f4f80a3bda">json_object_object_del()</a> segmentation fault \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/436">Issue #436</a> - Improve pkgconfig setting \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/437">Issue #437</a> - Bad link in <a class="el" href="README_8md.html">README.md</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/438">Issue #438</a> - Bad link in README.html \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/439">Issue #439</a> - reserved identifier violation \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/440">Issue #440</a> - Use of angle brackets around file names for include statements \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/441">Issue #441</a> - fix c flag loss during cmake building \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/442">Issue #442</a> - error in configure file \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/443">Issue #443</a> - remove pretty spaces when using pretty tabs \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/444">Issue #444</a> - Document refcount of json_tokener_parse_ex return \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/445">Issue #445</a> - Add missing "make check" target to cmake config \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/446">Issue #446</a> - Forward slashes get escaped \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/448">Issue #448</a> - Buffer overflow in json-c \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/449">Issue #449</a> - Need of json_type_int64 returned by <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object_get_type()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/450">Issue #450</a> - Allow use json-c cmake as subproject \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/452">Issue #452</a> - Update <a class="el" href="README_8md.html">README.md</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/453">Issue #453</a> - Fixed misalignment in JSON string due to space after <br />
|
||||
being printed... \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/454">Issue #454</a> - json_object_private: save 8 bytes in struct json_object in 64-bit arc… \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/455">Issue #455</a> - index.html:fix dead link \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/456">Issue #456</a> - STYLE.txt:remove executable permissions \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/457">Issue #457</a> - .gitignore:add build directory \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/458">Issue #458</a> - <a class="el" href="README_8md.html">README.md</a>:fix dead "file.html" link \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/459">Issue #459</a> - README.html:fix link to Doxygen docs, remove WIN32 link \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/460">Issue #460</a> - No docs for <a class="el" href="json__object_8h.html#aa3bdd164ddee3de269e6fce953f6b05c">json_object_new_string_len()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/461">Issue #461</a> - json_object.c:set errno in <a class="el" href="json__object_8h.html#a94a70cff6a14398b581b7b10b0792c5b">json_object_get_double()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/462">Issue #462</a> - <a class="el" href="json__object_8h.html" title="Core json-c API. Start here, or with json_tokener.h.">json_object.h</a>:document <a class="el" href="json__object_8h.html#aa3bdd164ddee3de269e6fce953f6b05c">json_object_new_string_len()</a> \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/463">Issue #463</a> - please check newlocale api first argument valuse. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/465">Issue #465</a> - CMakeLists.txt doesn't contain <a class="el" href="json__object__iterator_8h.html" title="An API for iterating over json_type_object objects, styled to be familiar to C++ programmers....">json_object_iterator.h</a> which <a class="el" href="json_8h.html" title="A convenience header that may be included instead of other individual ones.">json.h</a> includes \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/466">Issue #466</a> - configure:3610: error: C compiler cannot create executables \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/467">Issue #467</a> - Fix compiler warnings \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/468">Issue #468</a> - Fix compiler warnings \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/469">Issue #469</a> - Build under alpine with pecl install & docker-php-ext-enable? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/470">Issue #470</a> - cfuhash_foreach_remove doesn't upate cfuhash_num_entries \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/472">Issue #472</a> - Segmentation fault in json_object_iter_begin \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/473">Issue #473</a> - Convert ChangeLog to valid UTF-8 encoding. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/474">Issue #474</a> - Installation directories empty with CMake in pkg-config. \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/475">Issue #475</a> - improvement proposal for json_object_object_foreach \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/477">Issue #477</a> - Hang/Crash with large strings \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/478">Issue #478</a> - json_object_get_string_len returns 0 when value is number \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/479">Issue #479</a> - I want to use it in iOS or Android but I can't compile \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/480">Issue #480</a> - json-c-0.12.1 failed making from source code \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/481">Issue #481</a> - error while loading shared libraries: libjson-c.so.4 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/482">Issue #482</a> - Error "double free or corruption" after free() \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/483">Issue #483</a> - compatible with rarely-used Chinese characters in GBK charset \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/485">Issue #485</a> - Install CMake module files \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/486">Issue #486</a> - In the case of negative double value, it is formatted without including ".0" \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/488">Issue #488</a> - Some APIs are not exported when built as shared lib on Win32 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/489">Issue #489</a> - Don't use -Werror by default \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/490">Issue #490</a> - do not compile with -Werror by default \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/491">Issue #491</a> - build: add option –disable-werror to configure \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/492">Issue #492</a> - lack some quick usage in readme \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/494">Issue #494</a> - Code generator? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/495">Issue #495</a> - <a class="el" href="README_8md.html">README.md</a>:fix 2 typos \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/496">Issue #496</a> - <a class="el" href="json__pointer_8h.html" title="JSON Pointer (RFC 6901) implementation for retrieving objects from a json-c object tree.">json_pointer.h</a>:suggest minor grammar improvement for pointer doc \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/497">Issue #497</a> - add common header for all tests \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/498">Issue #498</a> - double_serializer_test fails (with valgrind) \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/499">Issue #499</a> - .travis.yml:test on more recent clang and gcc versions \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/500">Issue #500</a> - test/Makefile.am:add missing deps for test1 and test2 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/501">Issue #501</a> - undefine NDEBUG for tests \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/502">Issue #502</a> - configure error \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/503">Issue #503</a> - json-c retuns OK when Invalid json string is passed \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/504">Issue #504</a> - json_object_put coredump \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/505">Issue #505</a> - Add vcpkg installation instructions \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/506">Issue #506</a> - Cannot parse more than one object \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/509">Issue #509</a> - Sometimes a double value is not serialized \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/510">Issue #510</a> - Bump so-name and improve CMake \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/511">Issue #511</a> - Reduce lines for better optimization \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/512">Issue #512</a> - Properly append to CMAKE_C_FLAGS string \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/513">Issue #513</a> - What does <code>userdata</code> means?And what is the case we can use it? \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/514">Issue #514</a> - Json c 0.13 \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/515">Issue #515</a> - Mies suomesta fixes segfaults and logic errors \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/516">Issue #516</a> - Lja slight mods \</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/518">Issue #518</a> - Escape character "\\003\", get unexpected value \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/519">https://github.com/json-c/json-c/issues/519</a>" >Issue #519</a> - Add test case obj token \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/520">https://github.com/json-c/json-c/issues/520</a>" >Issue #520</a> - Adding type uint64 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/521">https://github.com/json-c/json-c/issues/521</a>" >Issue #521</a> - build cmake windows 10 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/522">https://github.com/json-c/json-c/issues/522</a>" >Issue #522</a> - update json_visit testcase \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/523">https://github.com/json-c/json-c/issues/523</a>" >Issue #523</a> - update tsetcase for tokener_c \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/524">https://github.com/json-c/json-c/issues/524</a>" >Issue #524</a> - Increase coverage \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/525">https://github.com/json-c/json-c/issues/525</a>" >Issue #525</a> - update pointer test case \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/526">https://github.com/json-c/json-c/issues/526</a>" >Issue #526</a> - Increased the test coverage of printbuf.c 82% to 92%. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/527">https://github.com/json-c/json-c/issues/527</a>" >Issue #527</a> - Arraylist testcase \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/528">https://github.com/json-c/json-c/issues/528</a>" >Issue #528</a> - Solve issue #108. Skip \u0000 while parsing. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/529">https://github.com/json-c/json-c/issues/529</a>" >Issue #529</a> - Increased the test coverage of json_c_version.c 0% to 100%. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/530">https://github.com/json-c/json-c/issues/530</a>" >Issue #530</a> - validate utf-8 string before parse \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/531">https://github.com/json-c/json-c/issues/531</a>" >Issue #531</a> - validate utf-8 string \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/532">https://github.com/json-c/json-c/issues/532</a>" >Issue #532</a> - json_object_object_get_ex returning the original object \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/533">https://github.com/json-c/json-c/issues/533</a>" >Issue #533</a> - Fix "make check" \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/535">https://github.com/json-c/json-c/issues/535</a>" >Issue #535</a> - short string optimization: excessive array length \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/536">https://github.com/json-c/json-c/issues/536</a>" >Issue #536</a> - add json_object_new_null() \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/538">https://github.com/json-c/json-c/issues/538</a>" >Issue #538</a> - update shortstring and arraylist parameters \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/539">https://github.com/json-c/json-c/issues/539</a>" >Issue #539</a> - double serializes to the old value after set_double \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/541">https://github.com/json-c/json-c/issues/541</a>" >Issue #541</a> - add coveralls auto tool to json-c \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/542">https://github.com/json-c/json-c/issues/542</a>" >Issue #542</a> - add uint64 data to json-c \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/543">https://github.com/json-c/json-c/issues/543</a>" >Issue #543</a> - Readme \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/544">https://github.com/json-c/json-c/issues/544</a>" >Issue #544</a> - Increase distcheck target in cmake \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/545">https://github.com/json-c/json-c/issues/545</a>" >Issue #545</a> - add doc target in cmake \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/546">https://github.com/json-c/json-c/issues/546</a>" >Issue #546</a> - Add uninstall target in cmake \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/547">https://github.com/json-c/json-c/issues/547</a>" >Issue #547</a> - modify json-c default build type, and fix up the assert() errors in t… \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/548">https://github.com/json-c/json-c/issues/548</a>" >Issue #548</a> - Solve some problems about cmake build type (debug/release) \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/549">https://github.com/json-c/json-c/issues/549</a>" >Issue #549</a> - lib installation issues \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/550">https://github.com/json-c/json-c/issues/550</a>" >Issue #550</a> - Format codes with clang-format tool? \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/551">https://github.com/json-c/json-c/issues/551</a>" >Issue #551</a> - Allow hexadecimal number format convention parsing \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/553">https://github.com/json-c/json-c/issues/553</a>" >Issue #553</a> - Fix/clang ubsan \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/554">https://github.com/json-c/json-c/issues/554</a>" >Issue #554</a> - RFC 8259 compatibility mode \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/555">https://github.com/json-c/json-c/issues/555</a>" >Issue #555</a> - Format json-c with clang-format tool \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/556">https://github.com/json-c/json-c/issues/556</a>" >Issue #556</a> - Fixes various Wreturn-type and Wimplicit-fallthrough errors on Mingw-w64 \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/557">https://github.com/json-c/json-c/issues/557</a>" >Issue #557</a> - Add option in CMAKE to not build documentation \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/558">https://github.com/json-c/json-c/issues/558</a>" >Issue #558</a> - modify the doc target message \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/559">https://github.com/json-c/json-c/issues/559</a>" >Issue #559</a> - json_c_visit() not exported on Windows \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/560">https://github.com/json-c/json-c/issues/560</a>" >Issue #560</a> - error: implicit declaration of function '_strtoi64' \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/561">https://github.com/json-c/json-c/issues/561</a>" >Issue #561</a> - add the badge in README.md and test the coveralls \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/562">https://github.com/json-c/json-c/issues/562</a>" >Issue #562</a> - Bugfix and testcases supplements \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/563">https://github.com/json-c/json-c/issues/563</a>" >Issue #563</a> - Changed order of calloc args to match stdlib \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/564">https://github.com/json-c/json-c/issues/564</a>" >Issue #564</a> - Remove autogenerated files \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/565">https://github.com/json-c/json-c/issues/565</a>" >Issue #565</a> - test the CI and ignore this PR \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/566">https://github.com/json-c/json-c/issues/566</a>" >Issue #566</a> - add the json_types.h to Makefile.am \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/567">https://github.com/json-c/json-c/issues/567</a>" >Issue #567</a> - Install json_types.h with autotools build as well. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/568">https://github.com/json-c/json-c/issues/568</a>" >Issue #568</a> - Adding better support to MinGW \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/569">https://github.com/json-c/json-c/issues/569</a>" >Issue #569</a> - Handling of -Bsymbolic-function in CMakeLists.txt is deficient \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/571">https://github.com/json-c/json-c/issues/571</a>" >Issue #571</a> - CMake: Bump SONAME to 5. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/572">https://github.com/json-c/json-c/issues/572</a>" >Issue #572</a> - Small fixes to CMakeLists \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/573">https://github.com/json-c/json-c/issues/573</a>" >Issue #573</a> - Fix coveralls submission. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/574">https://github.com/json-c/json-c/issues/574</a>" >Issue #574</a> - autogen.sh missing from repository \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/575">https://github.com/json-c/json-c/issues/575</a>" >Issue #575</a> - Small cosmetics. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/576">https://github.com/json-c/json-c/issues/576</a>" >Issue #576</a> - Test coverage for json_c_version. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/577">https://github.com/json-c/json-c/issues/577</a>" >Issue #577</a> - Be verbose on failing json_c_version test. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/578">https://github.com/json-c/json-c/issues/578</a>" >Issue #578</a> - CMake: Install pkgconfig file in proper location by default \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/579">https://github.com/json-c/json-c/issues/579</a>" >Issue #579</a> - Enforce strict prototypes. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/580">https://github.com/json-c/json-c/issues/580</a>" >Issue #580</a> - Fix CMake tests for enforced strict prototypes. \
|
||||
* <a href="<a href="https://github.com/json-c/json-c/issues/581">https://github.com/json-c/json-c/issues/581</a>" >Issue #581 - CMakeLists: do not enforce strict prototypes on Windows. \ </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
130
doc/html/md_issues_closed_for_0_15.html
Normal file
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.15</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.15 </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p >This list was created with:</p>
|
||||
<pre class="fragment">curl "https://api.github.com/search/issues?q=repo%3Ajson-c%2Fjson-c+closed%3A>2020-04-18+created%3A<2020-07-23&sort=created&order=asc&per_page=100&page=1" > issues1.out
|
||||
jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md
|
||||
sed -e's,^\[ *\‍(.*\‍)\](https://api.github.com/.*/\‍([0-9].*\‍)),* [Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||
#... manual editing ...
|
||||
</pre><hr />
|
||||
<p >Issues and Pull Requests closed for the 0.15 release (since commit 31ab57ca, the 0.14 branch point, 2020-04-19)</p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/428">Issue #428</a> - Added new_null() function</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/429">Issue #429</a> - Conflict of interest between JSON_C_TO_STRING_SPACED and JSON_C_TO_STRING_PRETTY</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/451">Issue #451</a> - Add option to disable HAVE___THREAD</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/471">Issue #471</a> - create folders with mode 0755 when building</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/476">Issue #476</a> - Add new function named json_object_new_string_noalloc</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/484">Issue #484</a> - Add support for uint64</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/487">Issue #487</a> - Any plans to make new release? (0.14)</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/493">Issue #493</a> - Kdopen rename library</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/507">Issue #507</a> - Double value -1.0 converts to integer in <a class="el" href="json__object_8h.html#a0764ef8e72297c8f0514ddcfd8ae530e">json_object_to_json_string()</a></li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/508">Issue #508</a> - Recommend enabling the <code>-fPIC</code> compiler flag by default</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/517">Issue #517</a> - Lja mods</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/534">Issue #534</a> - Both json-c and json-glib have <a class="el" href="json__object_8h.html#af256a3a7910e271a2b9735e5044c3827">json_object_get_type()</a></li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/584">Issue #584</a> - CMake: SOVERSION and the major library VERSION need to be in lockstep.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/585">Issue #585</a> - CMake: Do not install config.h, as it is not a public header file.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/586">Issue #586</a> - 10796 Segmentation fault</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/588">Issue #588</a> - Broken RDRAND causes infinite looping</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/589">Issue #589</a> - Detect broken RDRAND during initialization</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/590">Issue #590</a> - Fix segmentation fault in CPUID check</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/591">Issue #591</a> - Update <a class="el" href="README_8md.html">README.md</a></li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/592">Issue #592</a> - Prevent out of boundary write on malicious input</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/593">Issue #593</a> - Building both static and shared libraries</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/594">Issue #594</a> - Some subsequent call of lh_get_hash not working</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/595">Issue #595</a> - Support to build both static and shared libraries</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/596">Issue #596</a> - QA Notice: Package triggers severe warnings</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/597">Issue #597</a> - json_parse demo: fix and use usage() function</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/598">Issue #598</a> - Turning off shared libs causes target duplication or build error</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/599">Issue #599</a> - cannot add more than 11 objects. Is this a known issue?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/600">Issue #600</a> - Library name conflicts on Windows are back again</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/601">Issue #601</a> - <a class="el" href="json__tokener_8h.html#a27841b0e4fdcb48b26cfcdb7559c84eb">json_tokener_parse()</a> in master sets errno=1 "Operation not permitted"</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/602">Issue #602</a> - fix <a class="el" href="json__util_8h.html#a94c2340c1344d57f7aa067f2dd0407f9">json_parse_uint64()</a> internal error checking with errno</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/603">Issue #603</a> - Backport of fixes from master branch.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/604">Issue #604</a> - commit f2e991a3419ee4078e8915e840b1a0d9003b349e breaks cross-compilation with mingw</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/605">Issue #605</a> - Update to 0.15 release</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/606">Issue #606</a> - Improved support for IBM operating systems</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/607">Issue #607</a> - json-c-0.13.x: Fix CVE-2020-12762 - json-c through 0.14 has an integer overflow and out-of-bounds write ...</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/608">Issue #608</a> - json-c-0.14: Fix CVE-2020-12762 - json-c through 0.14 has an integer overflow and out-of-bounds write ...</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/609">Issue #609</a> - use unsigned types for sizes in <a class="el" href="structlh__table.html">lh_table</a> and entries</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/610">Issue #610</a> - let's not call lh_table_resize with INT_MAX</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/611">Issue #611</a> - json-c-0.12.x: Fix CVE-2020-12762 - json-c through 0.14 has an integer overflow and out-of-bounds write ...</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/613">Issue #613</a> - json-c-0.10: Fix CVE-2020-12762 - json-c through 0.14 has an integer overflow and out-of-bounds write ...</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/614">Issue #614</a> - Prevent truncation on custom double formatters.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/615">Issue #615</a> - New release with security fix</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/616">Issue #616</a> - Parsing fails if UTF-16 low surrogate pair is not in same chunk is the high pair</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/617">Issue #617</a> - Add an option to disable the use of thread-local storage.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/618">Issue #618</a> - test_deep_copy: Fix assertion value.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/619">Issue #619</a> - CMake: Fix out-of-tree build for Doxygen documentation.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/621">Issue #621</a> - json-c and jansson libraries have symbol conflicts</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/622">Issue #622</a> - doc: Move Doxyfile into doc subdir.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/623">Issue #623</a> - json_tokener_parse : Segmentation fault</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/626">Issue #626</a> - Fixes for cmake 2.8.12 + link issue on AIX 6.1/cc 11.01</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/627">Issue #627</a> - Compat fixes</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/628">Issue #628</a> - get_cryptgenrandom_seed: compat with old windows + fallback</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/629">Issue #629</a> - [0.12] Remove the Visual Studio project file</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/630">Issue #630</a> - Linking with Windows MINGW not working</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/632">Issue #632</a> - Json object split</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/633">Issue #633</a> - fix issue 616: support the surrogate pair in split file.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/634">Issue #634</a> - Issue #508: <code>-fPIC</code> to link libjson-c.a with libs</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/635">Issue #635</a> - expression has no effect warning in json_tokener.c</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/636">Issue #636</a> - json_object_get_string free str memory</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/637">Issue #637</a> - <a class="el" href="json__object_8h.html#afabf61f932cd64a4122ca8092452eed5">json_object_put()</a> has 'double free or corruption (out) '</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/638">Issue #638</a> - json-c/json_object.c:50:2: error: #error Unable to determine size of ssize_t</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/639">Issue #639</a> - build: Add a symbol version to all exported symbols</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/640">Issue #640</a> - Fix build issues with SSIZE_MAX on 64bit Linux</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/641">Issue #641</a> - Formal verification of your test suite</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/642">Issue #642</a> - Please provide more precise informations about when to call json_object_put</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/643">Issue #643</a> - not able to compare with string</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/644">Issue #644</a> - Why src->_userdata not checked before calling strdup?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/645">Issue #645</a> - Misuse of tolower() in json_tokener.c</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/646">Issue #646</a> - Cast to unsigned char instead of int when calling tolower (Fixes #645) </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
157
doc/html/md_issues_closed_for_0_16.html
Normal file
@@ -0,0 +1,157 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.16</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.16 </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p >This list was created with:</p>
|
||||
<pre class="fragment">PREV=2020-07-23
|
||||
NOW=2022-04-13
|
||||
curl "https://api.github.com/search/issues?q=repo%3Ajson-c%2Fjson-c+closed%3A>${PREV}+created%3A<${NOW}&sort=created&order=asc&per_page=100&page=1" > issues1.out
|
||||
jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md
|
||||
sed -e's,^\[ *\‍(.*\‍)\](https://api.github.com/.*/\‍([0-9].*\‍)),* [Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||
cat issues.md >> issues_closed_for_0.16.md
|
||||
</pre><ul>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/464">Issue #464</a> - Speed up parsing and object creation</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/540">Issue #540</a> - request: json_init_library</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/631">Issue #631</a> - New 0.14 release requests</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/647">Issue #647</a> - "cmake -DCMAKE_BUILD_TYPE=Release" fails with error: 'cint64' may be used uninitialized</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/648">Issue #648</a> - Fix "may be used uninitialized" Release build failure</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/649">Issue #649</a> - json-c tag 0.15 tarball contains a file doc/Doxyfile and generated doxygen files in doc/html</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/650">Issue #650</a> - README: fix spelling errors</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/651">Issue #651</a> - Getrandom</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/652">Issue #652</a> - Waste memory</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/653">Issue #653</a> - Make the documentation build reproducibly</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/654">Issue #654</a> - A stack-buffer-overflow in json_parse.c:89:44</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/655">Issue #655</a> - json_parse: Fix read past end of buffer</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/656">Issue #656</a> - Fixed warnings</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/657">Issue #657</a> - Use GRND_NONBLOCK with getrandom.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/658">Issue #658</a> - <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object_get_boolean()</a> returns wrong result for objects and arrays</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/659">Issue #659</a> - fix <a class="el" href="json__object_8h.html#ac003fb99db7ecd674bb16d983d2f92ee">json_object_get_boolean()</a> to behave like documented</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/660">Issue #660</a> - Validate size arguments in arraylist functions.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/661">Issue #661</a> - Cleanup of some code parts</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/662">Issue #662</a> - Prevent signed overflow in get_time_seed</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/663">Issue #663</a> - Properly format errnos in <em>json_c_strerror</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/664">Issue #664</a> - Limit strings at INT_MAX length</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/665">Issue #665</a> - Handle more allocation failures in json_tokener* functions</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/666">Issue #666</a> - test1 json_object_new_array_ext test is failing</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/667">Issue #667</a> - Fixed test1 regression.</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/670">Issue #670</a> - Created Stone-Paper-Scissor Game by C language</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/672">Issue #672</a> - Calling exit() after failure to generate random seed</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/673">Issue #673</a> - switchcasemenuproject</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/674">Issue #674</a> - random_seed: on error, continue to next method</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/682">Issue #682</a> - libjson-c-dev vs libjson-c3</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/683">Issue #683</a> - [Question] Is it possible to clear a ptr of json_object?</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/684">Issue #684</a> - json_tokener_parse_verbose failed with core dump</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/685">Issue #685</a> - json_tokener_parse memory leak?</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/689">Issue #689</a> - fix compilation with clang</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/690">Issue #690</a> - "1," produces an object with int 1; "1" produces a null object</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/691">Issue #691</a> - failed tests</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/692">Issue #692</a> - patch to add arc4random</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/693">Issue #693</a> - Optional parameter for packing as array</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/694">Issue #694</a> - fix invalid unsigned arithmetic.</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/695">Issue #695</a> - /tmp/json-c/random_seed.c:327:6: error</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/696">Issue #696</a> - To avoid target exe file export JSON functions.</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/697">Issue #697</a> - <a class="el" href="json__object_8h.html#a5286b0d71c0c83b0f9656c837b7871ca">json_object_get_string()</a> return value truncated when assigning it to a pointer type in Win32 App</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/698">Issue #698</a> - Feature request: set allocator</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/699">Issue #699</a> - Linking to libjson-c Issue</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/700">Issue #700</a> - Fix unused variable for Win32 build in random_seed.c</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/701">Issue #701</a> - [RFC] json_pointer: allow the feature to be disabled</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/703">Issue #703</a> - Fix vasprintf fallback</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/706">Issue #706</a> - Check <b>STDC_VERSION</b> is defined before checking its value</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/707">Issue #707</a> - How to build json-c-0.15 for arm arch</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/708">Issue #708</a> - direct access to elements</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/709">Issue #709</a> - Include guards not namespaced / build errors for debug.h with openNDS</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/710">Issue #710</a> - 'file system sandbox blocked mmap()' error on iOS</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/711">Issue #711</a> - creating a json object</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/712">Issue #712</a> - building json-c using cmake for ESP32</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/713">Issue #713</a> - When value converted to char* can not compare it with another value</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/714">Issue #714</a> - Add AfterCaseLabel to .clang-format</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/716">Issue #716</a> - Fixed cmake command</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/717">Issue #717</a> - Cmake is able delete all files by "clean" target</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/718">Issue #718</a> - CMake create uninstall target if unix generator is used</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/719">Issue #719</a> - Parsing multiple JSON strings</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/722">Issue #722</a> - Fix use-after-free in <a class="el" href="json__tokener_8h.html#a9d9f1b78983dc1c68463f619b68b4563">json_tokener_new_ex()</a></em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/723">Issue #723</a> - if set __stdcall (/Gz)</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/724">Issue #724</a> - #723</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/725">Issue #725</a> - <a class="el" href="json__util_8h.html#a588aec4a89d4d4c9c6eb524036d6ecc1">json_object_from_file()</a> execution segment error</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/726">Issue #726</a> - fix cmake version for tests</em></li>
|
||||
<li><em><a href="https://github.com/json-c/json-c/issues/727">Issue #727</a> - Really use prefix JSON_C_OBJECT_ADD</em></li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/728">Issue #728</a> - DRAFT PROPOSAL - Add option JSON_C_OBJECT_ADD_IF_NOT_NULL</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/729">Issue #729</a> - * don't assume includedir</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/731">Issue #731</a> - Json-c Error</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/732">Issue #732</a> - Fix/static include dirs</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/734">Issue #734</a> - Newer appveyor config for VS2022 etc...</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/735">Issue #735</a> - Add policy_max to minimum required cmake version</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/736">Issue #736</a> - json_object.c:308: json_object_put: Assertion ‘jso->_ref_count > 0’ failed</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/737">Issue #737</a> - Fix typo in README</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/738">Issue #738</a> - General question - Is there an SLA for handling newly detected security issues?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/739">Issue #739</a> - json_escape_str(): avoid harmless unsigned integer overflow</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/741">Issue #741</a> - <a class="el" href="json__util_8h.html#a0ff86f1188508b9ce4e774be6a0b2674">json_type_to_name()</a>: use correct printf() formatter</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/742">Issue #742</a> - json_object_copy_serializer_data(): add assertion</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/743">Issue #743</a> - Cmd adb root</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/744">Issue #744</a> - Close file on error path.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/745">Issue #745</a> - vasprintf(): avoid out of memory accesses</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/746">Issue #746</a> - Fix typos in code comments and ChangeLog</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/747">Issue #747</a> - json_object_put: Assertion ‘jso->_ref_count > 0’ failed</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/748">Issue #748</a> - <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">sprintbuf()</a>: test for all vsnprintf error values</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/749">Issue #749</a> - <a class="el" href="printbuf_8h.html#a61f6bc0b1ca5787f0faca6799d61a0bb">sprintbuf()</a>: handle printbuf_memappend errors</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/750">Issue #750</a> - <a class="el" href="printbuf_8h.html#a93a27f4f8a092c58666724de23ae804d">printbuf_memset()</a>: set gaps to zero</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/751">Issue #751</a> - printbuf: do not allow invalid arguments</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/752">Issue #752</a> - Fix typos</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/753">Issue #753</a> - CTest failed in MSVC build</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/754">Issue #754</a> - Minor improvements to documentation</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/755">Issue #755</a> - Fix error messages</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/758">Issue #758</a> - Preserve context if out of memory</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/760">Issue #760</a> - Code style: removed unneeded double-quotes</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/761">Issue #761</a> - Last commit merged to master breaks compilation</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/762">Issue #762</a> - how to merge two jsons by json-c</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/763">Issue #763</a> - Question: sort_fn arguments</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/764">Issue #764</a> - Make test fail on test case test_util_file </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
138
doc/html/md_issues_closed_for_0_17.html
Normal file
@@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.4"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>json-c: issues_closed_for_0.17</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">json-c<span id="projectnumber"> 0.18</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.4 -->
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',false,false,'search.php','Search');
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">issues_closed_for_0.17 </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p >This list was created with:</p>
|
||||
<pre class="fragment">PREV=2022-04-13
|
||||
NOW=2023-08-12
|
||||
curl "https://api.github.com/search/issues?q=repo%3Ajson-c%2Fjson-c+closed%3A>${PREV}+created%3A<${NOW}&sort=created&order=asc&per_page=100&page=1" > issues1.out
|
||||
jq -r '.items[] | "[" + .title + "](" + .url + ")" | tostring' issues?.out > issues.md
|
||||
sed -e's,^\[ *\‍(.*\‍)\](https://api.github.com/.*/\‍([0-9].*\‍)),* [Issue #\2](https://github.com/json-c/json-c/issues/\2) - \1,' -i issues.md
|
||||
cat issues.md >> issues_closed_for_0.17.md
|
||||
</pre><ul>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/191">Issue #191</a> - Override int64 to only display uint64 strings</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/537">Issue #537</a> - Replace '\0' only when parsing key, not change data in value.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/570">Issue #570</a> - Figure out what needs to be done with Android.configure.mk</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/587">Issue #587</a> - Store the hashValue to avoid repeating the hash calculation during the hash resize.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/612">Issue #612</a> - json-c-0.11: Fix CVE-2020-12762 - json-c through 0.14 has an integer overflow and out-of-bounds write ...</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/620">Issue #620</a> - Introduce json_object_new_string_{ext,noalloc}().</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/624">Issue #624</a> - json-c-0.14: Detect broken RDRAND during initialization.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/625">Issue #625</a> - json-c-0.13.x: Detect broken RDRAND during initialization.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/668">Issue #668</a> - Memory usage regression due to newlocal() on older FreeBSD releases</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/676">Issue #676</a> - dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing]</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/677">Issue #677</a> - Naming conflict when using both json-c and jansson</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/679">Issue #679</a> - Let json-c be used with obsolete compilers</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/681">Issue #681</a> - json_tokener_parse_ex: <code>null</code> (4 bytes) only parses as valid JSON when passed with null terminator (5 bytes). Documentation issue?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/686">Issue #686</a> - Remove dependency on libM::getrandom</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/687">Issue #687</a> - Does not build on Apple Silicon M1</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/688">Issue #688</a> - json-c-0.15-nodoc.tar.gz build fails</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/702">Issue #702</a> - json_patch: add first implementation only with patch application</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/704">Issue #704</a> - add <a class="el" href="json__object_8h.html#ae40a00944afd41c9a463c6d9e8256f3b">json_object_array_insert_idx()</a> + test-cases + fix json_pointer doc-strings</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/705">Issue #705</a> - segmentation fault on json-c parsing methods in cross compiled target</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/721">Issue #721</a> - cmake test fails with building json-c with icc</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/730">Issue #730</a> - Need a comparison with other JSON libraries in C</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/733">Issue #733</a> - Official release? 1.0?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/756">Issue #756</a> - Question: Is there any way to build this with Gnu Make?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/757">Issue #757</a> - json_object_from_fd_ex: fail if file is too large</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/759">Issue #759</a> - json_tokener_parse_ex: handle out of memory errors</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/766">Issue #766</a> - Some people have trouble with undefined references to arc4random</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/767">Issue #767</a> - How to create a character array using json-c</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/768">Issue #768</a> - commits from May 30, 2022 killed my docker build process</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/769">Issue #769</a> - Issue #768</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/770">Issue #770</a> - json_parse.c:170:13: error: this statement may fall through</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/771">Issue #771</a> - fix fallthough warning</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/772">Issue #772</a> - add JSON_C_TO_STRING_COLOR option</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/773">Issue #773</a> - problem with u_int64_t</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/774">Issue #774</a> - The function add_compile_options was added to CMake version 2.8.12 and later but your minimum is 2.8 which will not work</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/775">Issue #775</a> - list(TRANSFORM ...) is not available prior to CMake 3.12.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/776">Issue #776</a> - Fix typo</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/777">Issue #777</a> - Don't try to change locale when libc only supports the C locale</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/778">Issue #778</a> - Do not insert newlines when converting empty arrays to json string and JSON_C_TO_STRING_PRETTY is used</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/779">Issue #779</a> - Fix compiling for Android</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/780">Issue #780</a> - Memory Leak when setting empty strings when c_string.pdata is used</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/781">Issue #781</a> - Fix memory leak with emtpy strings in json_object_set_string</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/782">Issue #782</a> - Fix typos found by codespell</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/783">Issue #783</a> - Fix build with clang-15+</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/784">Issue #784</a> - get_time_seed(): silence warning emitted by Coverity Scan static analyzer</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/786">Issue #786</a> - ghpages update was not published for json-c-0.16</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/787">Issue #787</a> - -static linker flag result in building failed</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/788">Issue #788</a> - Clear sensitive information.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/789">Issue #789</a> - Unnecessary struct declaration and unsafe function usage</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/790">Issue #790</a> - Small update to README file</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/791">Issue #791</a> - json_object_object_foreach not ISO-C compliant</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/792">Issue #792</a> - <code>json_object_get_int</code> does not set <code>EINVAL</code> on invalid string</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/794">Issue #794</a> - replaced</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/796">Issue #796</a> - Added Test for get int functions</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/797">Issue #797</a> - make uninstall</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/798">Issue #798</a> - API to deal with enums is missing</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/799">Issue #799</a> - json_object_put: Assertion ‘jso->_ref_count > 0’ failed.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/800">Issue #800</a> - String converted to scientific notation</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/801">Issue #801</a> - #error You do not have strncasecmp on your system.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/802">Issue #802</a> - Problem: modern CMake warns about version 2.8</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/803">Issue #803</a> - Problem: confusing error message in snprintf_compat.h</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/804">Issue #804</a> - Problem: cmake 3.25.1 warns about CMP0042 not being set</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/806">Issue #806</a> - The problem is libjson-c.dylib incompatible with OS version</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/807">Issue #807</a> - json simple parse syntax</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/808">Issue #808</a> - iOS Build using cmake fails due to 64 to 32bits conversion precision loss</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/809">Issue #809</a> - Feature request json_object_new_uint()</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/810">Issue #810</a> - docs: update to Internet Standard reference</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/811">Issue #811</a> - dependence on execution character set</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/812">Issue #812</a> - Duplicate symbol when compiling with clang-cl</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/813">Issue #813</a> - Build apps only in project itself.</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/814">Issue #814</a> - Code execution order</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/816">Issue #816</a> - Hi I need to generate libjson-c.so.3 and libjson-c.so.3.0.1, please help with steps</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/818">Issue #818</a> - error: a function declaration without a prototype is deprecated in all versions of C</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/819">Issue #819</a> - build with intel 2023 fails on vasprintf</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/820">Issue #820</a> - ISO C forbids in</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/821">Issue #821</a> - Any release planing for 0.17?</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/822">Issue #822</a> - Added option to disable app build</li>
|
||||
<li><a href="https://github.com/json-c/json-c/issues/823">Issue #823</a> - Symbol not found during linking stage of libjson-c.so </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Sun Sep 15 2024 16:22:28 for json-c by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||