Liking cljdoc? Tell your friends :D

otarta.payload-format


edncljs

Read and write data encoded in edn. write is strict in that it checks whether what it will write is actually readable. This makes writing records impossible.

Read and write data encoded in edn.
`write` is strict in that it checks whether what it will write is actually readable.
This makes writing records impossible.
raw docstring

jsoncljs

Read and write data encoded in json

Read and write data encoded in json
raw docstring

PayloadFormatcljsprotocol

Implement read and write operation for reading and writing data to MQTT.

When implementing these functions keep in mind that:

  • you don't have take the empty-message ("") into account
  • an error should be thrown when reading/writings fails (or would write non-readable data), this signals to the caller that the formatting failed.
Implement read and write operation for reading and writing data to MQTT.

When implementing these functions keep in mind that:
- you don't have take the empty-message ("") into account
- an error should be thrown when reading/writings fails (or would write non-readable data),
this signals to the caller that the formatting failed.

readcljs

(read format arraybuffer)

writecljs

(write format value)
raw docstring

rawcljs


stringcljs


transitcljs

Read and write data encoded in transit+json.

Read and write data encoded in transit+json.
raw docstring

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

× close