jansson/test
Nathaniel McCallum b8bb078cc2 Add JSON_EMBED encoding flag
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-02-27 15:09:03 -05:00
..
bin Update copyrights for 2016 2016-09-18 14:17:03 +03:00
scripts Update copyrights for 2016 2016-09-18 14:17:03 +03:00
suites Add JSON_EMBED encoding flag 2017-02-27 15:09:03 -05:00
.gitignore Added test files to .gitignore 2016-09-07 10:13:52 -07:00
Makefile.am Distribute some missing files 2010-01-21 21:48:31 +02:00
run-suites Use expr instead of $((...)) in shell scripts 2014-10-03 08:49:08 +03:00