JSON format for format-ende
This crate provides an implementation of the format-ende traits for the JSON format based on the serde_json crate.
Example
use FormatEncoder;
use FormatDecoder;
use JsonFormat;
use Cursor;
let mut format = new;
format.pretty = true; // Enable pretty printing
let mut buf: = Vecnew;
let value = vec!;
// Encode the value to JSON
format.encode.unwrap;
// Decode the value back from JSON
let decoded: = format.decode.unwrap;
assert_eq!;