b8bb078cc2
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. |
||
---|---|---|
.. | ||
ext | ||
.gitignore | ||
apiref.rst | ||
changes.rst | ||
conf.py | ||
conformance.rst | ||
gettingstarted.rst | ||
github_commits.c | ||
index.rst | ||
Makefile.am | ||
portability.rst | ||
README | ||
tutorial.rst | ||
upgrading.rst |
To build the documentation, invoke make html Then point your browser to _build/html/index.html.