jansson/test/suites
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
..
api Add JSON_EMBED encoding flag 2017-02-27 15:09:03 -05:00
encoding-flags Update copyrights for 2016 2016-09-18 14:17:03 +03:00
invalid Update copyrights for 2016 2016-09-18 14:17:03 +03:00
invalid-unicode Update copyrights for 2016 2016-09-18 14:17:03 +03:00
valid Update copyrights for 2016 2016-09-18 14:17:03 +03:00
.gitattributes Always use LF as line ending so that we don't get any problems with line 2013-03-07 16:12:07 +01:00
Makefile.am Remove invalid subdirs from test/suites/Makefile.am 2011-02-25 21:09:04 +02:00