Instance Constructors
-
new
JsonEventIterator(text: String)
-
new
JsonEventIterator(reader: Reader)
-
new
JsonEventIterator(input: Iterator[JsonToken])
-
new
JsonEventIterator(text: String, fieldCache: (String, Int) ⇒ String)
-
new
JsonEventIterator(reader: Reader, fieldCache: (String, Int) ⇒ String)
-
new
JsonEventIterator(input: Iterator[JsonToken], fieldCache: (String, Int) ⇒ String)
Type Members
-
class
GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
++[B >: JsonEvent](that: ⇒ GenTraversableOnce[B]): Iterator[B]
-
def
/:[B](z: B)(op: (B, JsonEvent) ⇒ B): B
-
def
:\[B](z: B)(op: (JsonEvent, B) ⇒ B): B
-
final
def
==(arg0: AnyRef): Boolean
-
final
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
-
final
def
asInstanceOf[T0]: T0
-
-
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
corresponds[B](that: GenTraversableOnce[B])(p: (JsonEvent, B) ⇒ Boolean): Boolean
-
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])
-
final
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
-
final
def
getClass(): Class[_]
-
-
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
-
final
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
-
final
def
ne(arg0: AnyRef): Boolean
-
-
def
nonEmpty: Boolean
-
final
def
notify(): Unit
-
final
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
skipRestOfCompound(): JsonEventIterator.this.type
-
def
slice(from: Int, until: Int): Iterator[JsonEvent]
-
-
-
def
sum[B >: JsonEvent](implicit num: Numeric[B]): B
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
take(n: Int): Iterator[JsonEvent]
-
def
takeWhile(p: (JsonEvent) ⇒ Boolean): Iterator[JsonEvent]
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, JsonEvent, Col[JsonEvent]]): Col[JsonEvent]
-
def
toArray[B >: JsonEvent](implicit arg0: ClassTag[B]): Array[B]
-
def
toBuffer[B >: JsonEvent]: Buffer[B]
-
def
toIndexedSeq: IndexedSeq[JsonEvent]
-
def
toIterable: Iterable[JsonEvent]
-
def
toIterator: Iterator[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
toVector: Vector[JsonEvent]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
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)]
Deprecated Value Members
-
def
/:\[A1 >: JsonEvent](z: A1)(op: (A1, A1) ⇒ A1): A1
Inherited from AnyRef
Inherited from Any
Turns a raw token-stream into an event stream, checking for JSON well-formedness.
A
JsonEventIterator
checks 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.
com.rojoma.json.v3.io.JsonEvent
com.rojoma.json.v3.io.JsonEventGenerator
com.rojoma.json.v3.io.FusedBlockJsonEventIterator