Expand description
Encode/decode SBP messages as JSON.
Structs§
- This structure compacts a JSON value with no extra whitespace.
- Provide Haskell style formatting. Output should be similar to: https://hackage.haskell.org/package/base-4.8.2.0/docs/Numeric.html#v:showFloat
- Writes Json2JsonInput messages as JSON into a writer.
- ‘Compressed’ Sbp JSON messages. Unlike normal SBP json these messages just contain the base64 payload of the message, not the individual fields.
- Writes Sbp messages as JSON into a writer.
Enums§
- All possible error types when encoding/decoding a stream of json messages.
Functions§
- Deserialize the IO stream into an iterator of Json2JsonInput messages.
- Deserialize the IO stream into an iterator of messages.
- Deserialize the IO stream into an iterator of messages. Unlike iter_messages, this function will use the fields of the JSON message, rather than the base64 encoded payload.
- Deserialize the async IO stream into an stream of messages.
- Serialize the given message as a JSON byte vector.
- Serialize the given message as JSON into the IO stream.
Type Aliases§
- A JSON map holding all the fields and metadata of the SBP message. This is format used by the output of the
sbp2json
tool, for example: