Packages

  • package root

    JSON (JavaScript Object Notation) is a lightweight data-interchange format.

    JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages,

    JSON has only types of string, number, boolean, object, array, and null. This library includes additional types such as date, int, long, double, counter, binary, UUID, ObjectId (as in BSON), etc.

    It is very easy to parse a JSON object:

    val doc =
      json"""
      {
        "store": {
          "book": [
            {
              "category": "reference",
              "author": "Nigel Rees",
              "title": "Sayings of the Century",
              "price": 8.95
            },
            {
              "category": "fiction",
              "author": "Evelyn Waugh",
              "title": "Sword of Honour",
              "price": 12.99
            },
            {
              "category": "fiction",
              "author": "Herman Melville",
              "title": "Moby Dick",
              "isbn": "0-553-21311-3",
              "price": 8.99
            },
            {
              "category": "fiction",
              "author": "J. R. R. Tolkien",
              "title": "The Lord of the Rings",
              "isbn": "0-395-19395-8",
              "price": 22.99
            }
          ],
          "bicycle": {
            "color": "red",
            "price": 19.95
          }
        }
      }
      """

    The interpolator json parse a string to JsObject. To parse an array, use the interpolator jsan to JsArray. It is also okay to embed variable references directly in processed string literals.

    val x = 1
    json"""
      {
        "x": $x
      }
    """

    If the string is not a JSON object but any other valid JSON expression, one may use parseJson method to convert the string to a JsValue.

    "1".parseJson

    The json interpolator can only be applied to string literals. If you want to parse a string variable, the parseJson method can always be employed. If you know the string contains a JSON object, you may also use the method parseJsObject.

    val s = """{"x":1}"""
    s.parseJsObject

    To serialize a JSON value (of type JsValue) in compact mode, you can just use toString. To pretty print, use the method prettyPrint.

    doc.toString
    doc.prettyPrint

    With a JsObject or JsArray, you can refer to the individual elements with a variation of array syntax, like this:

    doc("store")("bicycle")("color")
    doc("store")("book")(0)("author")

    Note that we follow Scala's array access convention by () rather than [] in JavaScript.

    Besides, you can use the dot notation to access its fields/elements just like in JavaScript:

    doc.store.bicycle.color
    doc.store.book(0).author

    It is worth noting that we didn't define the type/schema of the document while Scala is a strong type language. In other words, we have both the type safe features of strong type language and the flexibility of dynamic language in this JSON library.

    If you try to access a non-exist field, JsUndefined is returned.

    scala> doc.book
    res11: unicorn.json.JsValue = undefined

    Although there are already several nice JSON libraries for Scala, the JSON objects are immutable by design, which is a natural choice for a functional language. For database, however, data mutation is necessary. Therefore, JsObject and JsArray are mutable data structures. You can set/add a field just like in JavaScript:

    json.store.bicycle.color = "green"

    To delete a field from JsObject, use remove method:

    doc.store.book(0) remove "price"

    It is same as setting it JsUndefined:

    doc.store.book(0).price = `JsUndefined`

    To delete an element from JsArray, the remove method will effectively remove it from the array. However, setting an element to undefined doesn't reduce the array size.

    // delete the first element and array size is smaller
    doc.store.book.remove(0)
    // set the first element to undefined but array size keeps same
    doc.store.book(0) = JsUndefined

    It is also possible to append an element or another array to JsArray:

    val a = JsArray(1, 2, 3, 4)
    a += 5
    
    a ++= JsArray(5, 6)

    Common iterative operations such as foreach, map, reduce can be applied to JsArray too.

    doc.store.book.asInstanceOf[JsArray].foreach { book =>
     println(book.price)
    }

    Because Scala is a static language, it is impossible to know doc.store.book is an array at compile time. So it is typed as generic JsValue, which is the parent type of specific JSON data types. Therefore, we use asInstanceOf[JsArray] to convert it to JsArray in order to use foreach.

    Definition Classes
    root
  • package smile
    Definition Classes
    root
  • package json

    Definition Classes
    smile
  • CompactPrinter
  • JsArray
  • JsBinary
  • JsBoolean
  • JsCounter
  • JsDate
  • JsDateTime
  • JsDecimal
  • JsDouble
  • JsInt
  • JsLong
  • JsNull
  • JsObject
  • JsObjectId
  • JsString
  • JsTime
  • JsTimestamp
  • JsUUID
  • JsUndefined
  • JsValue
  • JsValueOrdering
  • JsonHelper
  • JsonParser
  • JsonPrinter
  • JsonSerializer
  • ObjectId
  • ParserInput
  • PrettyPrinter

case class JsArray(elements: ArrayBuffer[JsValue]) extends JsValue with Iterable[JsValue] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsArray
  2. Serializable
  3. Product
  4. Equals
  5. Iterable
  6. IterableFactoryDefaults
  7. IterableOps
  8. IterableOnceOps
  9. IterableOnce
  10. JsValue
  11. Dynamic
  12. AnyRef
  13. Any
Implicitly
  1. by iterableOnceExtensionMethods
  2. by jsArrayTopLevel
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JsArray(elements: ArrayBuffer[JsValue])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JsArray toany2stringadd[JsArray] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. final def ++[B >: JsValue](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  5. def ++=(xs: IterableOnce[JsValue]): JsValue

    Appends a number of elements provided by an iterable object.

    Appends a number of elements provided by an iterable object. The identity of the array is returned.

    xs

    the iterable object.

    returns

    the updated buffer.

  6. def ++=:(xs: IterableOnce[JsValue]): JsValue

    Prepends a number of elements provided by an iterable object.

    Prepends a number of elements provided by an iterable object. The identity of the array is returned.

    xs

    the iterable object.

    returns

    the updated array.

  7. def +=(elem: JsValue): JsArray

    Appends a single element to this array and returns the identity of the array.

    Appends a single element to this array and returns the identity of the array. It takes constant amortized time.

    elem

    the element to append.

    returns

    the updated array.

  8. def +=:(elem: JsValue): JsValue

    Prepends a single element to this buffer and returns the identity of the array.

    Prepends a single element to this buffer and returns the identity of the array. It takes time linear in the buffer size.

    elem

    the element to prepend.

    returns

    the updated array.

  9. def ->[B](y: B): (JsArray, B)
    Implicit
    This member is added by an implicit conversion from JsArray toArrowAssoc[JsArray] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  12. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  14. def apply(range: Range): JsArray
    Definition Classes
    JsArrayJsValue
  15. def apply(start: Int, end: Int, step: Int): JsArray
    Definition Classes
    JsArrayJsValue
  16. def apply(start: Int, end: Int): JsArray
    Definition Classes
    JsArrayJsValue
  17. def apply(index: Int): JsValue
    Definition Classes
    JsArrayJsValue
  18. def apply(key: String): JsValue
    Definition Classes
    JsValue
  19. def applyDynamic(key: String)(index: Int): JsValue
    Definition Classes
    JsValue
  20. def asBoolean: Boolean
    Definition Classes
    JsValue
  21. def asDate: LocalDate
    Definition Classes
    JsValue
  22. def asDateTime: LocalDateTime
    Definition Classes
    JsValue
  23. def asDecimal: BigDecimal
    Definition Classes
    JsValue
  24. def asDouble: Double
    Definition Classes
    JsValue
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def asInt: Int
    Definition Classes
    JsValue
  27. def asLong: Long
    Definition Classes
    JsValue
  28. def asTime: LocalTime
    Definition Classes
    JsValue
  29. def asTimestamp: Timestamp
    Definition Classes
    JsValue
  30. def canEqual(that: Any): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Equals
  31. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  32. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  33. final def coll: JsArray.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  34. def collect[B](pf: PartialFunction[JsValue, B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  35. def collectFirst[B](pf: PartialFunction[JsValue, B]): Option[B]
    Definition Classes
    IterableOnceOps
  36. def compactPrint: String
    Definition Classes
    JsValue
  37. def concat[B >: JsValue](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  38. final def contains[B1 >: B](elem: B1): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  39. def copyToArray[B >: JsValue](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  40. def copyToArray[B >: JsValue](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  41. def copyToArray[B >: JsValue](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  42. def corresponds[B](that: IterableOnce[B])(p: (JsValue, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  43. def count(p: (JsValue) => Boolean): Int
    Definition Classes
    IterableOnceOps
  44. def drop(n: Int): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  45. def dropRight(n: Int): Iterable[JsValue]
    Definition Classes
    IterableOps
  46. def dropWhile(p: (JsValue) => Boolean): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  47. val elements: ArrayBuffer[JsValue]
  48. def empty: Iterable[JsValue]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  49. def ensuring(cond: (JsArray) => Boolean, msg: => Any): JsArray
    Implicit
    This member is added by an implicit conversion from JsArray toEnsuring[JsArray] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  50. def ensuring(cond: (JsArray) => Boolean): JsArray
    Implicit
    This member is added by an implicit conversion from JsArray toEnsuring[JsArray] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  51. def ensuring(cond: Boolean, msg: => Any): JsArray
    Implicit
    This member is added by an implicit conversion from JsArray toEnsuring[JsArray] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  52. def ensuring(cond: Boolean): JsArray
    Implicit
    This member is added by an implicit conversion from JsArray toEnsuring[JsArray] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  53. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. def equals(o: Any): Boolean
    Definition Classes
    JsArray → Equals → AnyRef → Any
  55. def exists(p: (JsValue) => Boolean): Boolean
    Definition Classes
    JsArray → IterableOnceOps
  56. def filter(pred: (JsValue) => Boolean): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  57. def filterNot(pred: (JsValue) => Boolean): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  58. def filterOrElse[A1 >: A](p: (JsArray) => Boolean, zero: => A1): Either[A1, JsArray]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  59. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  60. def find(p: (JsValue) => Boolean): Option[JsValue]
    Definition Classes
    JsArray → IterableOnceOps
  61. def flatMap[B](f: (JsValue) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  62. def flatten[B](implicit asIterable: (JsValue) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  63. def fold[A1 >: JsValue](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  64. def foldLeft[B](z: B)(op: (B, JsValue) => B): B
    Definition Classes
    IterableOnceOps
  65. def foldRight[B](z: B)(op: (JsValue, B) => B): B
    Definition Classes
    IterableOnceOps
  66. def forall(p: (JsValue) => Boolean): Boolean
    Definition Classes
    JsArray → IterableOnceOps
  67. def foreach[U](p: (JsValue) => U): Unit
    Definition Classes
    JsArray → IterableOnceOps
  68. def fromSpecific(coll: IterableOnce[JsValue]): Iterable[JsValue]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  69. def get(key: String): Option[JsValue]
    Definition Classes
    JsValue
  70. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  71. def getOrElse[B1 >: B](or: => B1): B1
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  72. def groupBy[K](f: (JsValue) => K): Map[K, Iterable[JsValue]]
    Definition Classes
    IterableOps
  73. def groupMap[K, B](key: (JsValue) => K)(f: (JsValue) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  74. def groupMapReduce[K, B](key: (JsValue) => K)(f: (JsValue) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  75. def grouped(size: Int): Iterator[Iterable[JsValue]]
    Definition Classes
    IterableOps
  76. def head: JsValue
    Definition Classes
    IterableOps
  77. def headOption: Option[JsValue]
    Definition Classes
    IterableOps
  78. def init: Iterable[JsValue]
    Definition Classes
    IterableOps
  79. def inits: Iterator[Iterable[JsValue]]
    Definition Classes
    IterableOps
  80. def insertAll(idx: Int, seq: Iterable[JsValue]): Unit

    Inserts new elements at the index n.

    Inserts new elements at the index n. Opposed to method update, this method will not replace an element with a new one. Instead, it will insert a new element at index n.

    idx

    the index where a new element will be inserted.

    seq

    the iterable object providing all elements to insert.

  81. def isEmpty: Boolean
    Definition Classes
    JsArray → IterableOnceOps
  82. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  83. def isLeft: Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  84. def isRight: Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  85. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  86. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → IterableOps
  87. def iterator: Iterator[JsValue]
    Definition Classes
    JsArray → IterableOnce
  88. def joinLeft[A1 >: A, B1 >: B, C](implicit ev: <:<[A1, Either[C, B1]]): Either[C, B1]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  89. def joinRight[A1 >: A, B1 >: B, C](implicit ev: <:<[B1, Either[A1, C]]): Either[A1, C]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  90. def knownSize: Int
    Definition Classes
    JsArray → IterableOnce
  91. def last: JsValue
    Definition Classes
    IterableOps
  92. def lastOption: Option[JsValue]
    Definition Classes
    IterableOps
  93. def lazyZip[B](that: Iterable[B]): LazyZip2[JsValue, B, JsArray.this.type]
    Definition Classes
    Iterable
  94. def left: LeftProjection[JsObject, JsArray]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  95. def map[B](f: (JsValue) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  96. def max[B >: JsValue](implicit ord: Ordering[B]): JsValue
    Definition Classes
    IterableOnceOps
  97. def maxBy[B](f: (JsValue) => B)(implicit cmp: Ordering[B]): JsValue
    Definition Classes
    IterableOnceOps
  98. def maxByOption[B](f: (JsValue) => B)(implicit cmp: Ordering[B]): Option[JsValue]
    Definition Classes
    IterableOnceOps
  99. def maxOption[B >: JsValue](implicit ord: Ordering[B]): Option[JsValue]
    Definition Classes
    IterableOnceOps
  100. def min[B >: JsValue](implicit ord: Ordering[B]): JsValue
    Definition Classes
    IterableOnceOps
  101. def minBy[B](f: (JsValue) => B)(implicit cmp: Ordering[B]): JsValue
    Definition Classes
    IterableOnceOps
  102. def minByOption[B](f: (JsValue) => B)(implicit cmp: Ordering[B]): Option[JsValue]
    Definition Classes
    IterableOnceOps
  103. def minOption[B >: JsValue](implicit ord: Ordering[B]): Option[JsValue]
    Definition Classes
    IterableOnceOps
  104. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  105. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  106. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  107. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  108. def newSpecificBuilder: Builder[JsValue, Iterable[JsValue]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  109. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  110. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  111. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  112. def orElse[A1 >: A, B1 >: B](or: => Either[A1, B1]): Either[A1, B1]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  113. def partition(p: (JsValue) => Boolean): (Iterable[JsValue], Iterable[JsValue])
    Definition Classes
    IterableOps
  114. def partitionMap[A1, A2](f: (JsValue) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  115. def prettyPrint: String
    Definition Classes
    JsValue
  116. def product[B >: JsValue](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  117. def productArity: Int
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Product
  118. def productElement(n: Int): Any
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Product
  119. def productElementName(n: Int): String
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Product
  120. def productElementNames: Iterator[String]
    Definition Classes
    Product
  121. def productIterator: Iterator[Any]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Product
  122. def productPrefix: String
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Product
  123. def reduce[B >: JsValue](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  124. def reduceLeft[B >: JsValue](op: (B, JsValue) => B): B
    Definition Classes
    IterableOnceOps
  125. def reduceLeftOption[B >: JsValue](op: (B, JsValue) => B): Option[B]
    Definition Classes
    IterableOnceOps
  126. def reduceOption[B >: JsValue](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  127. def reduceRight[B >: JsValue](op: (JsValue, B) => B): B
    Definition Classes
    IterableOnceOps
  128. def reduceRightOption[B >: JsValue](op: (JsValue, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  129. def remove(idx: Int, count: Int): Unit

    Removes the element on a given index position.

    Removes the element on a given index position. It takes time linear in the buffer size.

    idx

    the index which refers to the first element to delete.

    count

    the number of elements to delete

  130. def remove(index: Int): JsValue
    Definition Classes
    JsArrayJsValue
  131. def remove(key: String): Option[JsValue]
    Definition Classes
    JsValue
  132. def reversed: Iterable[JsValue]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  133. def scan[B >: JsValue](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  134. def scanLeft[B](z: B)(op: (B, JsValue) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  135. def scanRight[B](z: B)(op: (JsValue, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  136. def selectDynamic(key: String): JsValue
    Definition Classes
    JsValue
  137. def size: Int
    Definition Classes
    JsArray → IterableOnceOps
  138. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  139. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  140. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  141. def slice(from: Int, until: Int): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  142. def sliding(size: Int, step: Int): Iterator[Iterable[JsValue]]
    Definition Classes
    IterableOps
  143. def sliding(size: Int): Iterator[Iterable[JsValue]]
    Definition Classes
    IterableOps
  144. def span(p: (JsValue) => Boolean): (Iterable[JsValue], Iterable[JsValue])
    Definition Classes
    IterableOps → IterableOnceOps
  145. def splitAt(n: Int): (Iterable[JsValue], Iterable[JsValue])
    Definition Classes
    IterableOps → IterableOnceOps
  146. def stepper[S <: Stepper[_]](implicit shape: StepperShape[JsValue, S]): S
    Definition Classes
    IterableOnce
  147. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  148. def sum[B >: JsValue](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  149. def swap: Either[JsArray, JsObject]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  150. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  151. def tail: Iterable[JsValue]
    Definition Classes
    IterableOps
  152. def tails: Iterator[Iterable[JsValue]]
    Definition Classes
    IterableOps
  153. def take(n: Int): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  154. def takeRight(n: Int): Iterable[JsValue]
    Definition Classes
    IterableOps
  155. def takeWhile(p: (JsValue) => Boolean): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  156. def tapEach[U](f: (JsValue) => U): Iterable[JsValue]
    Definition Classes
    IterableOps → IterableOnceOps
  157. def to[C1](factory: Factory[JsValue, C1]): C1
    Definition Classes
    IterableOnceOps
  158. def toArray[B >: JsValue](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  159. final def toBuffer[B >: JsValue]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  160. def toIndexedSeq: IndexedSeq[JsValue]
    Definition Classes
    IterableOnceOps
  161. def toList: List[JsValue]
    Definition Classes
    IterableOnceOps
  162. def toMap[K, V](implicit ev: <:<[JsValue, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  163. def toOption: Option[JsArray]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  164. def toSeq: Seq[JsValue]
    Definition Classes
    IterableOnceOps
  165. def toSet[B >: JsValue]: Set[B]
    Definition Classes
    IterableOnceOps
  166. def toString(): String
    Definition Classes
    JsArray → Iterable → JsValue → AnyRef → Any
  167. def toTry(implicit ev: <:<[JsObject, Throwable]): Try[JsArray]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
  168. def toVector: Vector[JsValue]
    Definition Classes
    IterableOnceOps
  169. def transpose[B](implicit asIterable: (JsValue) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  170. def unzip[A1, A2](implicit asPair: (JsValue) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  171. def unzip3[A1, A2, A3](implicit asTriple: (JsValue) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  172. def update(index: Int, value: JsValue): JsValue
    Definition Classes
    JsArrayJsValue
  173. def update(key: String, value: JsValue): JsValue
    Definition Classes
    JsValue
  174. def updateDynamic(index: Int)(value: JsValue): JsValue
    Definition Classes
    JsArrayJsValue
  175. def updateDynamic(key: String)(value: JsValue): JsValue
    Definition Classes
    JsValue
  176. def view: View[JsValue]
    Definition Classes
    IterableOps
  177. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  178. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  179. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  180. def withFilter(p: (JsValue) => Boolean): WithFilter[JsValue, Iterable]
    Definition Classes
    IterableOps
  181. def zip[B](that: IterableOnce[B]): Iterable[(JsValue, B)]
    Definition Classes
    IterableOps
  182. def zipAll[A1 >: JsValue, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  183. def zipWithIndex: Iterable[(JsValue, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Shadowed Implicit Value Members

  1. def exists(p: (JsArray) => Boolean): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).exists(p)
    Definition Classes
    Either
  2. def flatMap[A1 >: A, B1](f: (JsArray) => Either[A1, B1]): Either[A1, B1]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).flatMap(f)
    Definition Classes
    Either
  3. def flatten[A1 >: A, B1](implicit ev: <:<[JsArray, Either[A1, B1]]): Either[A1, B1]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).flatten(ev)
    Definition Classes
    Either
  4. def fold[C](fa: (JsObject) => C, fb: (JsArray) => C): C
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).fold(fa, fb)
    Definition Classes
    Either
  5. def forall(f: (JsArray) => Boolean): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).forall(f)
    Definition Classes
    Either
  6. def foreach[U](f: (JsArray) => U): Unit
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).foreach(f)
    Definition Classes
    Either
  7. def map[B1](f: (JsArray) => B1): Either[JsObject, B1]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).map(f)
    Definition Classes
    Either
  8. def productElementNames: Iterator[String]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).productElementNames
    Definition Classes
    Product
  9. def toSeq: Seq[JsArray]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: JsTopLevel).toSeq
    Definition Classes
    Either

Deprecated Value Members

  1. def ++:[B >: JsValue](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. def /:[B](z: B)(op: (B, JsValue) => B): B
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue])./:(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldLeft instead

  3. final def /:[B](z: B)(op: (B, JsValue) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  4. def :\[B](z: B)(op: (JsValue, B) => B): B
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).:\(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldRight instead

  5. final def :\[B](z: B)(op: (JsValue, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  6. def aggregate[B](z: => B)(seqop: (B, JsValue) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  7. def collectFirst[B](f: PartialFunction[JsValue, B]): Option[B]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).collectFirst(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.collectFirst(...) instead

  8. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  9. def copyToBuffer(dest: Buffer[JsValue]): Unit
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).copyToBuffer(dest)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.copyToBuffer(...) instead

  10. final def copyToBuffer[B >: JsValue](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  11. def count(f: (JsValue) => Boolean): Int
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).count(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.count(...) instead

  12. def exists(f: (JsValue) => Boolean): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).exists(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.exists(...) instead

  13. def filter(f: (JsValue) => Boolean): Iterator[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).filter(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.filter(...) instead

  14. def find(p: (JsValue) => Boolean): Option[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).find(p)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.find instead

  15. def flatMap[B](f: (JsValue) => IterableOnce[B]): IterableOnce[B]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).flatMap(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable

  16. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).fold(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.fold instead

  17. def foldLeft[B](z: B)(op: (B, JsValue) => B): B
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).foldLeft(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldLeft instead

  18. def foldRight[B](z: B)(op: (JsValue, B) => B): B
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).foldRight(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldRight instead

  19. def forall(f: (JsValue) => Boolean): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).forall(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.forall(...) instead

  20. def foreach[U](f: (JsValue) => U): Unit
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).foreach(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foreach(...) instead

  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JsArray toStringFormat[JsArray] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  22. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  23. def isEmpty: Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).isEmpty
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.isEmpty instead

  24. def map[B](f: (JsValue) => B): IterableOnce[B]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).map(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable

  25. def max(implicit ord: Ordering[JsValue]): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).max(ord)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.max instead

  26. def maxBy[B](f: (JsValue) => B)(implicit cmp: Ordering[B]): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).maxBy(f)(cmp)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.maxBy(...) instead

  27. def min(implicit ord: Ordering[JsValue]): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).min(ord)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.min instead

  28. def minBy[B](f: (JsValue) => B)(implicit cmp: Ordering[B]): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).minBy(f)(cmp)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.minBy(...) instead

  29. def mkString: String
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).mkString
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.mkString instead

  30. def mkString(sep: String): String
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).mkString(sep)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.mkString instead

  31. def mkString(start: String, sep: String, end: String): String
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).mkString(start, sep, end)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.mkString instead

  32. def nonEmpty: Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).nonEmpty
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.nonEmpty instead

  33. def product(implicit num: Numeric[JsValue]): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).product(num)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.product instead

  34. def reduce(f: (JsValue, JsValue) => JsValue): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).reduce(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduce(...) instead

  35. def reduceLeft(f: (JsValue, JsValue) => JsValue): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).reduceLeft(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceLeft(...) instead

  36. def reduceLeftOption(f: (JsValue, JsValue) => JsValue): Option[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).reduceLeftOption(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead

  37. def reduceOption(f: (JsValue, JsValue) => JsValue): Option[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).reduceOption(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceOption(...) instead

  38. def reduceRight(f: (JsValue, JsValue) => JsValue): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).reduceRight(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceRight(...) instead

  39. def reduceRightOption(f: (JsValue, JsValue) => JsValue): Option[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).reduceRightOption(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceRightOption(...) instead

  40. final def repr: Iterable[JsValue]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  41. def right: RightProjection[JsObject, JsArray]
    Implicit
    This member is added by an implicit conversion from JsArray toJsTopLevel performed by method jsArrayTopLevel in smile.json.
    Definition Classes
    Either
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Either is now right-biased, use methods directly on Either

  42. def sameElements[B >: A](that: IterableOnce[B]): Boolean
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.sameElements instead

  43. def seq: JsArray.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  44. def size: Int
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).size
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.size instead

  45. def sum(implicit num: Numeric[JsValue]): JsValue
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).sum(num)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.sum instead

  46. def to[C1](factory: Factory[JsValue, C1]): C1
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).to(factory)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(factory) instead

  47. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toArray(arg0)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.toArray

  48. def toBuffer[B >: A]: Buffer[B]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toBuffer
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead

  49. def toIndexedSeq: IndexedSeq[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toIndexedSeq
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.toIndexedSeq instead

  50. final def toIterable: Iterable[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toIterable
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Iterable) instead

  51. final def toIterable: JsArray.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  52. def toIterator: Iterator[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toIterator
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead

  53. final def toIterator: Iterator[JsValue]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  54. def toList: List[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toList
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(List) instead

  55. def toMap[K, V](implicit ev: <:<[JsValue, (K, V)]): Map[K, V]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toMap(ev)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Map) instead

  56. def toSeq: Seq[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toSeq
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Seq) instead

  57. def toSet[B >: A]: Set[B]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toSet
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Set) instead

  58. def toStream: Stream[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toStream
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(LazyList) instead

  59. final def toStream: Stream[JsValue]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  60. final def toTraversable: Traversable[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toTraversable
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Iterable) instead

  61. final def toTraversable: Traversable[JsValue]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  62. def toVector: Vector[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).toVector
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Vector) instead

  63. def view(from: Int, until: Int): View[JsValue]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

  64. def withFilter(f: (JsValue) => Boolean): Iterator[JsValue]
    Implicit
    This member is added by an implicit conversion from JsArray toIterableOnceExtensionMethods[JsValue] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (jsArray: IterableOnceExtensionMethods[JsValue]).withFilter(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.withFilter(...) instead

  65. def [B](y: B): (JsArray, B)
    Implicit
    This member is added by an implicit conversion from JsArray toArrowAssoc[JsArray] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Iterable[JsValue]

Inherited from IterableOnce[JsValue]

Inherited from JsValue

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion iterableOnceExtensionMethods fromJsArray to IterableOnceExtensionMethods[JsValue]

Inherited by implicit conversion jsArrayTopLevel fromJsArray to JsTopLevel

Inherited by implicit conversion any2stringadd fromJsArray to any2stringadd[JsArray]

Inherited by implicit conversion StringFormat fromJsArray to StringFormat[JsArray]

Inherited by implicit conversion Ensuring fromJsArray to Ensuring[JsArray]

Inherited by implicit conversion ArrowAssoc fromJsArray to ArrowAssoc[JsArray]

Ungrouped