Conversion 1, the JSON-to-CLJS edge. A server JS object read as an envelope value, or as a marker saying why it could not be read. Only the protocol's own closed vocabulary becomes keywords, opaque domain keys stay strings, and what leaves here is CLJS.
Conversion 1, the JSON-to-CLJS edge. A server JS object read as an envelope value, or as a marker saying why it could not be read. Only the protocol's own closed vocabulary becomes keywords, opaque domain keys stay strings, and what leaves here is CLJS.
(parse-body text)Response or embed text as an envelope. The whole of the JSON-to-CLJS edge, shared by the network edge and the boot embed so both read a body the same way.
Response or embed text as an envelope. The whole of the JSON-to-CLJS edge, shared by the network edge and the boot embed so both read a body the same way.
(parse-envelope js-obj)A server JS object as an accepted or rejected envelope, or a protocol-failure marker when it cannot be read.
A server JS object as an accepted or rejected envelope, or a protocol-failure marker when it cannot be read.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |