Liking cljdoc? Tell your friends :D

cheshire.experimental

Experimental JSON encoding/decoding tools.

Experimental JSON encoding/decoding tools.
raw docstring

encode-large-field-in-mapclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close