Crate litl

Source

Re-exports§

pub use zbase32;

Modules§

raw_data_serde

Macros§

impl_debug_as_litl
impl_nested_tagged_data_serde
impl_serde_enum_of_distinct_tagged_values
impl_single_tagged_data_serde
json
Construct a serde_json::Value from a JSON literal.

Structs§

Error
This type represents all possible errors that can occur when serializing or deserializing JSON data.
Key
Map
MeasureValue
Val

Enums§

ReadNewlnSepStreamError
TaggedDataError
ValE
ValRef
Value
Represents any valid JSON value.

Traits§

NestedTaggedData
SingleTaggedData

Functions§

from_newln_sep_slice
from_reader
Deserialize an instance of type T from an I/O stream of JSON.
from_slice
Deserialize an instance of type T from bytes of JSON text.
from_slice_owned
from_str
Deserialize an instance of type T from a string of JSON text.
from_val
from_value
Interpret a serde_json::Value as an instance of type T.
read_newln_sep_stream
to_newln_sep_stream
to_newln_sep_vec
to_string
to_string_canonical
to_string_pretty
Serialize the given data structure as a pretty-printed String of JSON.
to_val
to_value
Convert a T into serde_json::Value which is an enum that can represent any valid JSON data.
to_vec
to_vec_canonical
to_writer
to_writer_canonical
val_from_str

Type Aliases§

ValDeserializerError