Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-19 | test_dump: Don't use pipe on MinGWmingw | Petri Lehtinen | 1 | -1/+1 | |
2017-04-19 | appveyor: Build with MinGW and Visual Studio 2017 | Petri Lehtinen | 1 | -9/+16 | |
2017-04-13 | Merge commit '1b8bebf0bf8f1c0c3d92faf67a830bf8448897ed'2.10 | Petri Lehtinen | 1 | -1/+1 | |
2017-04-13 | Allow forward declaring json_error_t values | Petri Lehtinen | 1 | -1/+1 | |
2017-04-12 | build: Use Autoconf macro @includedir@ for jansson.pc. | Mathieu Lirzin | 1 | -1/+1 | |
This is more consistent with what is done for other pkg-config variables. | |||||
2017-03-29 | Merge pull request #336 from akheron/issue-333 | Petri Lehtinen | 1 | -1/+1 | |
CMakeLists.txt: Remove extra parenthesis | |||||
2017-03-29 | CMakeLists.txt: Remove extra parenthesis | Petri Lehtinen | 1 | -1/+1 | |
Fixes #333 | |||||
2017-03-02 | jansson 2.10v2.10 | Nathaniel McCallum | 6 | -7/+32 | |
2017-03-02 | Merge pull request #329 from npmccallum/embed | Petri Lehtinen | 4 | -6/+52 | |
Add JSON_EMBED encoding flag | |||||
2017-02-27 | Add JSON_EMBED encoding flag | Nathaniel McCallum | 4 | -6/+52 | |
The JSON_EMBED encoding flag causes the opening and closing characters of the top-level array ('[', ']') or object ('{', '}') to be omitted during encoding. This feature makes it possible to concatenate multiple arrays or objects in the stream output. It also makes it possible to perform outputs of partial composes. One such example of a partial compose is when outputting a JWE object. The output is a JSON object. But it has one top-level attribute ("ciphertext") that can grow out of proportion with the rest of the metadata. With the JSON_EMBED flag, the other metadata can be composed ahead of time and dumped during the beginning of output, where the "ciphertext" and "tag" attributes can be streamed out in chunks. Thus, the header material can be composed with Jansson and the ciphertext itself can be composed manually. | |||||
2017-01-31 | Merge pull request #328 from npmccallum/master | Petri Lehtinen | 8 | -7/+243 | |
Helper functions for network IO | |||||
2017-01-27 | Implement json_dumpfd() and json_loadfd() | Nathaniel McCallum | 8 | -7/+166 | |
The primary use of these functions is easy loading and dumping from stream sockets. Signed-off-by: Nathaniel McCallum <npmccallum@redhat.com> | |||||
2017-01-26 | Implement json_dumpb() | Nathaniel McCallum | 5 | -0/+77 | |
This function encodes the json_t object to a pre-allocated buffer. It compliments the already existing json_loadb() function and is useful for parsing JSON-RPC (among other protocols) when sent over datagram sockets. Signed-off-by: Nathaniel McCallum <npmccallum@redhat.com> | |||||
2016-11-16 | Merge pull request #321 from quiet/master | Petri Lehtinen | 1 | -1/+1 | |
parens for LONG_LONG_INT in cmake | |||||
2016-11-12 | parens for LONG_LONG_INT in cmake | Brian Armstrong | 1 | -1/+1 | |
when this is defined as "", cmake bails with an error about arguments in if | |||||
2016-10-24 | Merge pull request #314 from martinlindhe/condition-always-true | Petri Lehtinen | 1 | -2/+2 | |
part of conditional expression is always true (!done) | |||||
2016-10-24 | Merge pull request #311 from robertmu/master | Petri Lehtinen | 1 | -1/+1 | |
Fix passing redundant argument to error_set() | |||||
2016-10-24 | Merge pull request #309 from halfaleague/larger-json-buffers | Petri Lehtinen | 1 | -1/+1 | |
Allow parsing of buffers larger than 2GB on most 64 bit arch. | |||||
2016-10-19 | part of conditional expression is always true (!done), found with pvs-studio | Martin Lindhe | 1 | -2/+2 | |
2016-10-07 | Fix passing redundant argument to error_set() | Robert Mu | 1 | -1/+1 | |
2016-10-01 | Allow parsing of buffers larger than 2GB on most 64 bit arch. | Luke Carmichael | 1 | -1/+1 | |
size_t is usually 64 bits on most architectures -- this allows for larger .json files | |||||
2016-09-18 | doc: Change version to 2.10-dev | Petri Lehtinen | 1 | -1/+1 | |
2016-09-18 | doc: Change version to 2.92.9 | Petri Lehtinen | 1 | -1/+1 | |
2016-09-18 | jansson 2.9v2.9 | Petri Lehtinen | 6 | -6/+30 | |
2016-09-18 | Update copyrights for 2016 | Petri Lehtinen | 41 | -41/+41 | |
2016-09-16 | Merge branch '2.8' | Petri Lehtinen | 1 | -1/+2 | |
2016-09-16 | Add install targets to be optional2.8 | Matthew Johnston | 1 | -0/+3 | |
2016-09-16 | Added test files to .gitignore | Yuriy Romanenko | 1 | -0/+4 | |
2016-09-16 | Don't include jansson_config.h in dist tarballs | Petri Lehtinen | 1 | -1/+2 | |
Fixes #306 | |||||
2016-09-12 | Merge pull request #305 from warmwaffles/master | Petri Lehtinen | 1 | -0/+3 | |
Allow install targets to be optionally defined | |||||
2016-09-11 | Add install targets to be optional | Matthew Johnston | 1 | -0/+3 | |
2016-09-08 | Merge pull request #303 from groman2/yr-dev | Petri Lehtinen | 1 | -0/+4 | |
Added test files to .gitignore | |||||
2016-09-07 | Added test files to .gitignore | Yuriy Romanenko | 1 | -0/+4 | |
2016-09-01 | Merge branch '2.8' | Petri Lehtinen | 1 | -2/+2 | |
2016-09-01 | Fix another typo | Petri Lehtinen | 1 | -1/+1 | |
2016-09-01 | Merge pull request #302 from yujunz/patch-1 | Petri Lehtinen | 1 | -1/+1 | |
Fix typo | |||||
2016-09-01 | Fix typo | Yujun Zhang | 1 | -1/+1 | |
2016-08-31 | Merge pull request #301 from npmccallum/master | Petri Lehtinen | 3 | -0/+44 | |
Add support for the cleanup attribute in GCC/Clang | |||||
2016-08-31 | Add support for the cleanup attribute in GCC/Clang | Nathaniel McCallum | 3 | -0/+44 | |
The new json_auto_t macro allows easy declaration of json_t types that automatically decrement at the end of their scope. | |||||
2016-08-31 | doc: Fix json_error_t::position type | Petri Lehtinen | 1 | -1/+1 | |
Fixes #300 | |||||
2016-08-31 | doc: Fix json_error_t::position type | Petri Lehtinen | 1 | -1/+1 | |
Fixes #300 | |||||
2016-08-30 | Set documentation version to 2.9-dev | Petri Lehtinen | 1 | -1/+1 | |
2016-08-30 | Set documentation version to 2.8 | Petri Lehtinen | 1 | -1/+1 | |
2016-08-30 | jansson 2.8v2.8 | Petri Lehtinen | 10 | -26/+14 | |
2016-08-26 | jansson 2.8 | Petri Lehtinen | 1 | -4/+25 | |
2016-08-25 | Merge pull request #293 from akheron/object-insertion-order | Petri Lehtinen | 9 | -111/+68 | |
Always preserve insertion order of object items | |||||
2016-08-11 | Merge pull request #298 from pasiopou/oom-crash | Petri Lehtinen | 2 | -8/+54 | |
OOM crash | |||||
2016-08-11 | Conform to c89 | Andreas Pasiopoulos | 2 | -3/+5 | |
2016-08-11 | Check the allocation was successful before freeing existing hashtable buckets | Andreas Pasiopoulos | 1 | -7/+9 | |
and increasing hashtable order Fixes a crash observed when there is OOM in hashtable_do_rehash | |||||
2016-08-11 | Add a test case for OOM while allocating memory | Andreas Pasiopoulos | 1 | -1/+43 | |