Crate jsonxf

Source
Expand description

Jsonxf is a JSON transformer, supporting fast pretty-printing, minimizing, and similar formatting of JSON-encoded UTF-8 data in string or stream format. Use it to customize the presentation of valid JSON data.

It provides default pretty-printers (pretty_print(), pretty_print_stream()) and minimizers (minimize(), minimize_stream()), Formatter for customizable JSON formatting, and the jsonxf command-line tool (see jsonxf -h for options).

Jsonxf is built for speed, and does not attempt to perform any input validation whatsoever. Valid input produces valid output, but no guarantees are offered around the detection and rejection of invalid input.

GitHub: gamache/jsonxf

Structs§

  • Formatter allows customizable pretty-printing, minimizing, and other formatting tasks on JSON-encoded UTF-8 data in string or stream format.

Functions§