Crate jaq_json

Crate jaq_json 

Source
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§

cbor
CBOR support.
json
JSON support.
toml
TOML support.
xml
XML support.
yaml
YAML support.

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 $f to 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.

Type Aliases§

BoxError
Dynamic & thread-safe std::error::Error.
Error
Error that can occur during filter execution.
Map
Order-preserving map
ValR
A value or an eRror.
ValX
A value or an eXception.