Crate facet_json

Source
Expand description

Facet logo - a reflection library for Rust

Coverage Status free of syn crates.io documentation MIT/Apache-2.0 licensed

Logo by Misiasart

Thanks to all individual and corporate sponsors, without whom this work could not exist:

Ko-fi GitHub Sponsors Patreon Zed Depot

§facet-json

A JSON deserializer based on facet-deserialize

§License

Licensed under either of:

at your option.

Structs§

Json
The JSON format
JsonSerializer
A serializer for JSON format that implements the facet_serialize::Serializer trait.

Functions§

from_slice
Deserialize JSON from a given byte slice
from_str
Deserialize JSON from a given string
from_str_static_error
Deserialize JSON from a given string, converting any dynamic error into a static one.
peek_to_string
Serializes a Peek instance to JSON
peek_to_writer
Serializes a Peek instance to a writer in JSON format
to_string
Serializes a value to JSON
to_writer
Serializes a value to a writer in JSON format