Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
This module provides functionality to generate JSON Schema from Facet types.
The main function is to_string, which takes a Facet type and returns its JSON Schema representation as a string.
Example
use to_string;
use Facet;
let schema = ;
println!;
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.