A zipper that represents a position in a JSON document and supports navigation and modification.
A zipper that represents a position in a JSON document and supports navigation and modification.
The focus
represents the current position of the cursor; it may be updated with withFocus
or
changed using navigation methods like left
and right
.
A type class that provides a conversion from a value of type A
to a JSON
array.
An exception representing a decoding failure and (lazily) capturing the decoding history resulting in the failure.
A type class that provides a conversion from a value of type A
to a Json value.
The base exception type for both decoding and parsing errors.
A convenience exception type for aggregating one or more decoding or parsing errors.
A data type representing possible JSON values.
A JSON number with optimization by cases.
A mapping from keys to JSON values that maintains insertion order.
A type class that provides a conversion from a string used as a JSON key to a
value of type A
.
A type class that provides a conversion from a value of type A
to a string.
A type class that provides a conversion from a value of type A
to a string.
This type class will be used to create strings for JSON keys when encoding
Map[A, ?]
instances as JSON.
Note that if more than one value maps to the same string, the resulting JSON object may have fewer fields than the original map.
A type class that provides a conversion from a value of type A
to a
JsonObject.
An exception representing a parsing failure and wrapping the exception provided by the parsing library.
A pretty-printer for JSON values.
A pretty-printer for JSON values.
Determines if field ordering should be preserved.
Determines if object fields with values of null are dropped from the output.
The indentation to use if any format strings contain a new line.
Spaces to insert to left of a left brace.
Spaces to insert to right of a left brace.
Spaces to insert to left of a right brace.
Spaces to insert to right of a right brace.
Spaces to insert to left of a left bracket.
Spaces to insert to right of a left bracket.
Spaces to insert to left of a right bracket.
Spaces to insert to right of a right bracket.
Spaces to insert for an empty array.
Spaces to insert to left of a comma in an array.
Spaces to insert to right of a comma in an array.
Spaces to insert to left of a comma in an object.
Spaces to insert to right of a comma in an object.
Spaces to insert to left of a colon.
Spaces to insert to right of a colon.
Determines whether the printer will reuse Appendables via thread-local storage.
Uses an adaptive size predictor to avoid grow-and-copy steps while printing into a binary output.
Unicode-escape any non-ASCII characters in strings.
A subtype of Encoder
that statically verifies that the instance encodes
either a JSON array or an object.
Utilities and instances for ArrayEncoder.
Utilities and instances for Decoder.
Utilities and instances for Encoder.
Constructors, type class instances, and other utilities for JsonNumber.
Constructors, type class instances, and other utilities for JsonObject.
Utilities and instances for ObjectEncoder.
Utilities and instances for RootEncoder.
Decoder and Encoder instances for disjunction types with reasonable names for the sides.
This package provides syntax via enrichment classes.