A mapping from keys to JSON values that maintains insertion order.
Attributes
- Companion:
- object
- Source:
- JsonObject.scala
- Graph
- Supertypes
Members list
Value members
Abstract methods
Prepend the given key-value pair.
Insert the given key and value.
Return the JSON value associated with the given key.
Return true
if there is an association with the given key.
Return true
if there are no associations.
Return all keys in insertion order.
Transform all associated JSON values.
Remove the field with the given key (if it exists).
Return the number of associations.
Return all key-value pairs in insertion order.
Convert to a map.
Convert to a map.
Attributes
- Note:
This conversion does not maintain insertion order.
- Source:
- JsonObject.scala
Traverse Json values.
Return all associated values in insertion order.
Concrete methods
Perform a deep merge of this JSON object with another JSON object.
Perform a deep merge of this JSON object with another JSON object.
Objects are merged by key, values from the argument JSON take precedence over values from this JSON. Nested objects are recursed.
See Json.deepMerge for behavior of merging values that are not objects.
Attributes
- Source:
- JsonObject.scala
Attributes
- Definition Classes
- Any
- Source:
- JsonObject.scala
Filter by keys and values.
Filter by keys.
Attributes
- Definition Classes
- Any
- Source:
- JsonObject.scala
Return a Kleisli arrow that gets the JSON value associated with the given field.
Return a Kleisli arrow that gets the JSON value associated with the given field.
Attributes
- Source:
- JsonObject.scala
Return true
if there is at least one association.
Return all key-value pairs in insertion order as a list.
Attributes
- Definition Classes
- Any
- Source:
- JsonObject.scala
Return all key-value pairs in insertion order as a vector.