JSet
Attributes
- Source
- JValue.scala
- Graph
-
- Supertypes
-
class JValuetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Types
Attributes
- Source
- JValue.scala
Value members
Concrete methods
Attributes
- Source
- JValue.scala
Attributes
- Source
- JValue.scala
Attributes
- Source
- JValue.scala
Return unboxed values from JSON
Return unboxed values from JSON
Example:
JObject(JField("name", JString("joe")) :: Nil).values == Map("name" -> "joe")
Attributes
- Source
- JValue.scala
Inherited methods
Concatenate with another JSON. This is a concatenation monoid: (JValue, ++, JNothing)
Concatenate with another JSON. This is a concatenation monoid: (JValue, ++, JNothing)
Example:
JArray(JInt(1) :: JInt(2) :: Nil) ++ JArray(JInt(3) :: Nil) == JArray(List(JInt(1), JInt(2), JInt(3)))
Attributes
- Inherited from:
- JValue
- Source
- JValue.scala
Return nth element from JSON. Meaningful only to JArray, JObject and JField. Returns JNothing for other types.
Return nth element from JSON. Meaningful only to JArray, JObject and JField. Returns JNothing for other types.
Example:
JArray(JInt(1) :: JInt(2) :: Nil)(1) == JInt(2)
Attributes
- Inherited from:
- JValue
- Source
- JValue.scala
Return direct child elements.
Return direct child elements.
Example:
JArray(JInt(1) :: JInt(2) :: Nil).children == List(JInt(1), JInt(2))
Attributes
- Inherited from:
- JValue
- Source
- JValue.scala
Return a diff.
Return a diff.
Attributes
- See also
-
org.json4s.Diff#diff
- Inherited from:
- Diffable (hidden)
- Source
- Diff.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
When this org.json4s.JValue is a org.json4s.JNothing or a org.json4s.JNull, this method returns scala.None When it has a value it will return scala.Some
When this org.json4s.JValue is a org.json4s.JNothing or a org.json4s.JNull, this method returns scala.None When it has a value it will return scala.Some
Attributes
- Inherited from:
- JValue
- Source
- JValue.scala
When this org.json4s.JValue is a org.json4s.JNothing, this method returns scala.None When it has a value it will return scala.Some
When this org.json4s.JValue is a org.json4s.JNothing, this method returns scala.None When it has a value it will return scala.Some
Attributes
- Inherited from:
- JValue
- Source
- JValue.scala