Experimental JSON encoding/decoding tools.
Experimental JSON encoding/decoding tools.
(encode-large-field-in-map obj field stream)
(encode-large-field-in-map obj field stream & [opt-map])
EXPERIMENTAL - SUBJECT TO CHANGE.
Given a clojure object, a field name and a stream for a the string value of the field, return a stream that, when read, JSON encodes in a streamy way.
An optional opt-map can be specified to pass enocding options to the map encoding, supports the same options as generate-string.
Note that the input stream is not closed. You are responsible for closing it by calling .close() on the stream object returned from this method.
EXPERIMENTAL - SUBJECT TO CHANGE. Given a clojure object, a field name and a stream for a the string value of the field, return a stream that, when read, JSON encodes in a streamy way. An optional opt-map can be specified to pass enocding options to the map encoding, supports the same options as generate-string. Note that the input stream is not closed. You are responsible for closing it by calling .close() on the stream object returned from this method.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close