case class JSet(set: Set[JValue]) extends JValue with Product with Serializable
- Source
- JsonAST.scala
- Alphabetic
- By Inheritance
- JSet
- JValue
- Serializable
- Product
- Equals
- Diffable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++(other: JValue): JValue
Concatenate with another JSON.
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)))
- Definition Classes
- JValue
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(i: Int): JValue
Return nth element from JSON.
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)
- Definition Classes
- JValue
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def children: List[JValue]
Return direct child elements.
Return direct child elements.
Example:
JArray(JInt(1) :: JInt(2) :: Nil).children == List(JInt(1), JInt(2))
- Definition Classes
- JValue
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def diff(other: JValue): Diff
Return a diff.
Return a diff.
- Definition Classes
- Diffable
- See also
org.json4s.Diff#diff
- def difference(o: JSet): JSet
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- JSet → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def intersect(o: JSet): JSet
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val set: Set[JValue]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toOption: Option[JValue]
When this org.json4s.JsonAST.JValue is a org.json4s.JsonAST.JNothing or a org.json4s.JsonAST.JNull, this method returns scala.None When it has a value it will return scala.Some
When this org.json4s.JsonAST.JValue is a org.json4s.JsonAST.JNothing or a org.json4s.JsonAST.JNull, this method returns scala.None When it has a value it will return scala.Some
- Definition Classes
- JValue
- def toSome: Option[JValue]
When this org.json4s.JsonAST.JValue is a org.json4s.JsonAST.JNothing, this method returns scala.None When it has a value it will return scala.Some
When this org.json4s.JsonAST.JValue is a org.json4s.JsonAST.JNothing, this method returns scala.None When it has a value it will return scala.Some
- Definition Classes
- JValue
- def union(o: JSet): JSet
- def values: Set[JValue]
Return unboxed values from JSON
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()