Json
Builder for constructing JsonObjects and JsonArrays.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Json.type
Members list
Value members
Concrete methods
Creates a JsonArray from an encoded JSON string.
Creates a JsonArray from an encoded JSON string.
Value parameters
- json
-
The JSON string.
Attributes
- Returns
-
The decoded JsonArray.
Creates a JsonArray from a sequence of values.
Creates a JsonArray from a sequence of values.
Value parameters
- fields
-
The elements to put into the JsonArray.
Attributes
- Returns
-
A JsonArray containing the provided elements.
Creates a JsonObject from an encoded JSON string.
Creates a JsonObject from an encoded JSON string.
Value parameters
- json
-
The JSON string.
Attributes
- Returns
-
The decoded JsonObject.
Creates an empty JsonObject.
Creates an empty JsonObject.
Attributes
Constructs a JsonObject from a Scala Map.
Constructs a JsonObject from a Scala Map.
Attributes
Constructs a JsonObject from a Java Map.
Constructs a JsonObject from a Java Map.
Attributes
Constructs a JsonObject from Scala Tuples.
Constructs a JsonObject from Scala Tuples.