Skip to main content

Crate tribufu_json

Crate tribufu_json 

Source

Macros§

include_json

Functions§

from_slice
Deserialize an instance of type T from bytes of JSON text.
from_str
Deserialize an instance of type T from a string of JSON text.
to_string
Serialize the given data structure as a String of JSON.
to_string_pretty
to_value
Convert a T into serde_json::Value which is an enum that can represent any valid JSON data.
to_vec_pretty
Serialize the given data structure as a pretty-printed JSON byte vector.