Attributes
- Companion:
- class
- Source:
- Json.scala
- Graph
- Supertypes
- Self type
- Json.type
Members list
Type members
Classlikes
Represents a set of operations for reducing a Json instance to a value.
Represents a set of operations for reducing a Json instance to a value.
Attributes
- Source:
- Json.scala
- Graph
- Supertypes
Inherited types
The names of the product elements
The name of the type
Value members
Concrete methods
Create a Json
value representing a JSON array from values.
Create a Json
value representing a JSON number from a BigDecimal
.
Create a Json
value representing a JSON number from a BigInt
.
Create a Json
value representing a JSON boolean.
Try to create a Json
value representing a JSON number from a Double
.
Try to create a Json
value representing a JSON number from a Double
.
The result is empty if the argument cannot be represented as a JSON number.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON number or null from a Double
.
Create a Json
value representing a JSON number or null from a Double
.
The result is a JSON null if the argument cannot be represented as a JSON number.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON number or string from a Double
.
Create a Json
value representing a JSON number or string from a Double
.
The result is a JSON string if the argument cannot be represented as a JSON number.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON object from a collection of key-value pairs.
Create a Json
value representing a JSON object from a collection of key-value pairs.
Attributes
- Source:
- Json.scala
Try to create a Json
value representing a JSON number from a Float
.
Try to create a Json
value representing a JSON number from a Float
.
The result is empty if the argument cannot be represented as a JSON number.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON number or null from a Float
.
Create a Json
value representing a JSON number or null from a Float
.
The result is a JSON null if the argument cannot be represented as a JSON number.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON number or string from a Float
.
Create a Json
value representing a JSON number or string from a Float
.
The result is a JSON string if the argument cannot be represented as a JSON number.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON number from an Int
.
Create a Json
value representing a JSON number from a JsonNumber.
Create a Json
value representing a JSON object from a JsonObject.
Create a Json
value representing a JSON number from a Long
.
Create a Json
value representing a JSON string.
Create a Json
value representing a JSON string.
Note that this does not parse the argument.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON array from a collection of values.
Create a Json
value representing a JSON array from a collection of values.
Attributes
- Source:
- Json.scala
Create a Json
value representing a JSON object from key-value pairs.