Expand description
facet-json
Thanks to all individual and corporate sponsors, without whom this work could not exist:
Re-exports facet-json-read and facet-json-write, if the corresponding features are enabled.
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Functions§
- from_
str - Deserializes a JSON string into a value of type
Tthat implementsFacet. - from_
str_ opaque - Deserialize a
Pokeobject from a JSON string. - to_json
- Serializes any Facet type to JSON
- to_
json_ string - Serializes any Facet type to JSON and returns it as a String