A mapping from keys to JSON values that maintains insertion order.
- Companion:
- object
- Source:
- JsonObject.scala
Value members
Abstract methods
Return the JSON value associated with the given key.
Return the JSON value associated with the given key.
- Source:
- JsonObject.scala
Return true
if there is an association with the given key.
Return true
if there is an association with the given key.
- Source:
- JsonObject.scala
Return true
if there are no associations.
Return true
if there are no associations.
- Source:
- JsonObject.scala
Remove the field with the given key (if it exists).
Remove the field with the given key (if it exists).
- Source:
- JsonObject.scala
Return all key-value pairs in insertion order.
Return all key-value pairs in insertion order.
- Source:
- JsonObject.scala
Convert to a map.
Convert to a map.
- Note:
This conversion does not maintain insertion order.
- Source:
- JsonObject.scala
Return all associated values in insertion order.
Return all associated values in insertion order.
- Source:
- JsonObject.scala
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.
- 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.
- Source:
- JsonObject.scala
Return true
if there is at least one association.
Return true
if there is at least one association.
- Source:
- JsonObject.scala
Return all key-value pairs in insertion order as a list.
Return all key-value pairs in insertion order as a list.
- Source:
- JsonObject.scala
Return all key-value pairs in insertion order as a vector.
Return all key-value pairs in insertion order as a vector.
- Source:
- JsonObject.scala