Represents a position in a JSON value and allows moving around the JSON value.
A list of elements denoting the history of a cursor.
A list of elements denoting the history of a cursor.
Note: Most recent operation appears at head of list.
Encode an arbitrary value as a JSON value.
A typeclass for encode an arbitrary value as a JSON key.
A typeclass for encode an arbitrary value as a JSON key.
final case class Foo(value: String) object Foo { implicit val instance: EncodeJsonKey[Foo] = EncodeJsonKey.from(_.value) } EncodeJson.of[Map[Foo, Int]]
A data type representing possible JSON values.
A data type representing possible JSON values.
A JsonDecimal represents and valid JSON number as a String.
A JsonDecimal represents and valid JSON number as a String. Unfortunately,
there is no type in the Scala standard library which can represent all valid
JSON decimal numbers, since the exponent may be larger than an Int
. Such
a number can still be round tripped (parser to printer). We lazily parse the
string to a BigDecimal
or a Double
on demand.
JSON numbers with optimization by cases.
JSON numbers with optimization by cases. Note: Javascript numbers are 64-bit decimals.
A mapping from field to JSON value that maintains insertion order.
Constructors and other utilities for JSON values.
Library functions for parsing json.
Utility for building the argonaut API over various types.
Utility for building the argonaut API over various types. This is used to implement StringWrap, and it is expected that it would be used by integrations with other toolkits to provide an argonaut API on their types.
Parameters for pretty-printing a JSON value.
Parameters for pretty-printing a JSON value.
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 if field ordering should be preserved.
Determines if object fields with values of null are dropped from the output.
Wraps a String
value and provides methods, particularly for parsing.
Constructors and other utilities for wrapped string values.
Library functions for parsing json.
Represents a position in a JSON value and allows moving around the JSON value. Also known as a "zipper." The cursor has a focus representing the current position being referred to by the cursor. Users may update the focus using
withFocus
(or the>->
alias) and move the cursor around withleft
,right
,field
,downArray
,downField
andup
.