diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-04-07 11:40:17 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-04-07 13:20:31 +0200 |
commit | 1032a67bba78c9124935bc356d764458146886c0 (patch) | |
tree | b021f0d0ab3811d8f36bbed5f0942900448ca9d3 /.github/workflows/debian.yml | |
parent | df6b86173c4979aea636907b8f3fb4d0c855ea94 (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 '.github/workflows/debian.yml')
0 files changed, 0 insertions, 0 deletions