Expand description
JSON superset with binary data and non-string object keys.
This crate provides a few macros for formatting / writing;
this is done in order to function with both
core::fmt::Write and std::io::Write.
Modules§
Macros§
- write_
byte - Write a byte.
- write_
bytes - Write a byte string, including leading and trailing quotes.
- write_
utf8 - Write a UTF-8 string as JSON string, including leading and trailing quotes.
- write_
val - Write a value as JSON superset, using a function
$fto write sub-values.
Structs§
- Rc
- A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
Enums§
- Num
- Integer / decimal number.
- Tag
- Interpretation of a string.
- Val
- JSON superset with binary data and non-string object keys.
Functions§
- base_
funs - Minimal set of filters.
- bstr
- Display bytes as valid UTF-8 string.
- defs
- Definitions of the standard library.
- funs
- Functions of the standard library.
- invalid_
data - Create an invalid data I/O error.