package ast
- Alphabetic
- By Inheritance
- ast
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
JArray
(value: Vector[JValue] = Vector.empty) extends JValue with Product with Serializable
Represents a JSON Array value
-
sealed abstract
class
JBoolean
extends JValue
Represents a JSON Boolean value, which can either be a JTrue or a JFalse
-
case class
JNumber
(value: String) extends JValue with Product with Serializable
Represents a JSON number value.
Represents a JSON number value. If you are passing in a NaN or Infinity as a scala.Double, JNumber will return a JNull.
- Exceptions thrown
scala.NumberFormatException
- If the value is not a valid JSON Number
-
case class
JObject
(value: Map[String, JValue] = Map.empty) extends JValue with Product with Serializable
Represents a JSON Object value.
Represents a JSON Object value. Keys must be unique and are unordered
-
case class
JString
(value: String) extends JValue with Product with Serializable
Represents a JSON string value
-
sealed abstract
class
JValue
extends Product with Serializable
Represents a valid JSON Value
Represents a valid JSON Value
- See also
https://www.ietf.org/rfc/rfc4627.txt
Value Members
-
val
jNumberRegex: String
A regex that will match any valid JSON number for unlimited precision
A regex that will match any valid JSON number for unlimited precision
- Attributes
- protected
- object JArray extends Serializable
- object JBoolean extends Serializable
-
object
JFalse
extends JBoolean with Product with Serializable
Represents a JSON Boolean false value
-
object
JNull
extends JValue with Product with Serializable
Represents a JSON null value
-
object
JNumber
extends Serializable
If you are passing in a NaN or Infinity as a Double, JNumber will return a JNull
-
object
JTrue
extends JBoolean with Product with Serializable
Represents a JSON Boolean true value