summaryrefslogtreecommitdiffhomepage
path: root/include/endian.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-04-07 11:40:17 +0200
committerJo-Philipp Wich <jo@mein.io>2022-04-07 13:20:31 +0200
commit1032a67bba78c9124935bc356d764458146886c0 (patch)
treeb021f0d0ab3811d8f36bbed5f0942900448ca9d3 /include/endian.h
parentdf6b86173c4979aea636907b8f3fb4d0c855ea94 (diff)
lib: let `json()` accept input objects implementing `read()` method
Extend the `uc_json()` implementation to accept readable objects in addition to plain input strings. This allows parsing JSON input directly from open file handles, sockets or other kinds of producer objects without the need to store the entire JSON source string intermediately in memory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/endian.h')
0 files changed, 0 insertions, 0 deletions