class
JsonEventIterator
extends BufferedIterator[JsonEvent]
Instance Constructors
-
new
JsonEventIterator
(text: String)
-
new
JsonEventIterator
(reader: Reader)
-
new
JsonEventIterator
(input: Iterator[JsonToken])
-
new
JsonEventIterator
(text: String, fieldCache: FieldCache)
-
new
JsonEventIterator
(reader: Reader, fieldCache: FieldCache)
-
new
JsonEventIterator
(input: Iterator[JsonToken], fieldCache: FieldCache)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
++
[B >: JsonEvent]
(that: ⇒ GenTraversableOnce[B]): Iterator[B]
-
def
/:
[B]
(z: B)(op: (B, JsonEvent) ⇒ B): B
-
def
/:\
[A1 >: JsonEvent]
(z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
:\
[B]
(z: B)(op: (JsonEvent, B) ⇒ B): B
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
addString
(b: StringBuilder): StringBuilder
-
def
addString
(b: StringBuilder, sep: String): StringBuilder
-
def
addString
(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate
[B]
(z: B)(seqop: (B, JsonEvent) ⇒ B, combop: (B, B) ⇒ B): B
-
def
asInstanceOf
[T0]
: T0
-
def
buffered
: JsonEventIterator.this.type
-
def
clone
(): AnyRef
-
def
collect
[B]
(pf: PartialFunction[JsonEvent, B]): Iterator[B]
-
def
collectFirst
[B]
(pf: PartialFunction[JsonEvent, B]): Option[B]
-
def
contains
(elem: Any): Boolean
-
def
copyToArray
[B >: JsonEvent]
(xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray
[B >: JsonEvent]
(xs: Array[B]): Unit
-
def
copyToArray
[B >: JsonEvent]
(xs: Array[B], start: Int): Unit
-
def
copyToBuffer
[B >: JsonEvent]
(dest: Buffer[B]): Unit
-
def
count
(p: (JsonEvent) ⇒ Boolean): Int
-
def
drop
(n: Int): Iterator[JsonEvent]
-
-
-
def
dropWhile
(p: (JsonEvent) ⇒ Boolean): Iterator[JsonEvent]
-
def
duplicate
: (Iterator[JsonEvent], Iterator[JsonEvent])
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
exists
(p: (JsonEvent) ⇒ Boolean): Boolean
-
def
filter
(p: (JsonEvent) ⇒ Boolean): Iterator[JsonEvent]
-
def
filterNot
(p: (JsonEvent) ⇒ Boolean): Iterator[JsonEvent]
-
def
finalize
(): Unit
-
-
def
flatMap
[B]
(f: (JsonEvent) ⇒ GenTraversableOnce[B]): Iterator[B]
-
def
fold
[A1 >: JsonEvent]
(z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft
[B]
(z: B)(op: (B, JsonEvent) ⇒ B): B
-
def
foldRight
[B]
(z: B)(op: (JsonEvent, B) ⇒ B): B
-
def
forall
(p: (JsonEvent) ⇒ Boolean): Boolean
-
def
foreach
[U]
(f: (JsonEvent) ⇒ U): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
grouped
[B >: JsonEvent]
(size: Int): GroupedIterator[B]
-
def
hasDefiniteSize
: Boolean
-
def
hasNext
: Boolean
-
def
hashCode
(): Int
-
-
def
indexOf
[B >: JsonEvent]
(elem: B): Int
-
def
indexWhere
(p: (JsonEvent) ⇒ Boolean): Int
-
def
isEmpty
: Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
isTraversableAgain
: Boolean
-
def
length
: Int
-
def
map
[B]
(f: (JsonEvent) ⇒ B): Iterator[B]
-
def
max
[B >: JsonEvent]
(implicit cmp: Ordering[B]): JsonEvent
-
def
maxBy
[B]
(f: (JsonEvent) ⇒ B)(implicit cmp: Ordering[B]): JsonEvent
-
def
min
[B >: JsonEvent]
(implicit cmp: Ordering[B]): JsonEvent
-
def
minBy
[B]
(f: (JsonEvent) ⇒ B)(implicit cmp: Ordering[B]): JsonEvent
-
def
mkString
: String
-
def
mkString
(sep: String): String
-
def
mkString
(start: String, sep: String, end: String): String
-
def
ne
(arg0: AnyRef): Boolean
-
-
def
nonEmpty
: Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
padTo
[A1 >: JsonEvent]
(len: Int, elem: A1): Iterator[A1]
-
def
partition
(p: (JsonEvent) ⇒ Boolean): (Iterator[JsonEvent], Iterator[JsonEvent])
-
def
patch
[B >: JsonEvent]
(from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
-
def
product
[B >: JsonEvent]
(implicit num: Numeric[B]): B
-
def
reduce
[A1 >: JsonEvent]
(op: (A1, A1) ⇒ A1): A1
-
def
reduceLeft
[B >: JsonEvent]
(op: (B, JsonEvent) ⇒ B): B
-
def
reduceLeftOption
[B >: JsonEvent]
(op: (B, JsonEvent) ⇒ B): Option[B]
-
def
reduceOption
[A1 >: JsonEvent]
(op: (A1, A1) ⇒ A1): Option[A1]
-
def
reduceRight
[B >: JsonEvent]
(op: (JsonEvent, B) ⇒ B): B
-
def
reduceRightOption
[B >: JsonEvent]
(op: (JsonEvent, B) ⇒ B): Option[B]
-
def
reversed
: List[JsonEvent]
-
def
sameElements
(that: Iterator[_]): Boolean
-
def
scanLeft
[B]
(z: B)(op: (B, JsonEvent) ⇒ B): Iterator[B]
-
def
scanRight
[B]
(z: B)(op: (JsonEvent, B) ⇒ B): Iterator[B]
-
def
seq
: Iterator[JsonEvent]
-
def
size
: Int
-
def
skipNextDatum
(): JsonEventIterator.this.type
-
def
skipRestOfCompound
(): JsonEventIterator.this.type
-
def
slice
(from: Int, until: Int): Iterator[JsonEvent]
-
def
sliding
[B >: JsonEvent]
(size: Int, step: Int): GroupedIterator[B]
-
-
def
sum
[B >: JsonEvent]
(implicit num: Numeric[B]): B
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
take
(n: Int): Iterator[JsonEvent]
-
def
takeWhile
(p: (JsonEvent) ⇒ Boolean): Iterator[JsonEvent]
-
def
toArray
[B >: JsonEvent]
(implicit arg0: ClassManifest[B]): Array[B]
-
def
toBuffer
[B >: JsonEvent]
: Buffer[B]
-
def
toIndexedSeq
[B >: JsonEvent]
: IndexedSeq[B]
-
def
toIterable
: Iterable[JsonEvent]
-
def
toIterator
: Iterator[JsonEvent]
-
def
toList
: List[JsonEvent]
-
def
toMap
[T, U]
(implicit ev: <:<[JsonEvent, (T, U)]): Map[T, U]
-
-
def
toSet
[B >: JsonEvent]
: Set[B]
-
def
toStream
: Stream[JsonEvent]
-
def
toString
(): String
-
def
toTraversable
: Traversable[JsonEvent]
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
withFilter
(p: (JsonEvent) ⇒ Boolean): Iterator[JsonEvent]
-
def
zip
[B]
(that: Iterator[B]): Iterator[(JsonEvent, B)]
-
def
zipAll
[B, A1 >: JsonEvent, B1 >: B]
(that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]
-
def
zipWithIndex
: Iterator[(JsonEvent, Int)] { ... /* 2 definitions in type refinement */ }
-
def
append
[B >: JsonEvent]
(that: Iterator[B]): Iterator[B]
-
def
counted
: CountedIterator[JsonEvent]
-
def
findIndexOf
(p: (JsonEvent) ⇒ Boolean): Int
-
def
readInto
[B >: JsonEvent]
(xs: Array[B]): Unit
-
def
readInto
[B >: JsonEvent]
(xs: Array[B], start: Int): Unit
-
def
readInto
[B >: JsonEvent]
(xs: Array[B], start: Int, sz: Int): Unit
Inherited from AnyRef
Inherited from Any
Turns a raw token-stream into an event stream, checking for JSON well-formedness.
A
JsonEventIteratorchecks a token stream for syntactic correctness and produces events that reflect the syntax of JSON. It guarantees to demand no more input from the input iterator than is absolutely required.As an extension, this class allows unquoted identifiers to be used as object keys.
JsonEvent
,JsonEventGenerator