t

zio.json.internal

RetractReader

sealed trait RetractReader extends Reader with OneCharReader

A Reader that can retract and replay the last char that it read.

This is essential when parsing contents that do not have a terminator character, e.g. numbers, whilst preserving the non-significant character for further processing.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RetractReader
  2. OneCharReader
  3. Reader
  4. Closeable
  5. AutoCloseable
  6. Readable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    Reader → Closeable → AutoCloseable
    Annotations
    @throws(classOf[java.io.IOException])
  2. abstract def readChar(): Char
    Definition Classes
    OneCharReader
  3. abstract def retract(): Unit

    Behaviour is undefined if called more than once without a read()

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isWhitespace(c: Char): Boolean
    Attributes
    protected
    Definition Classes
    OneCharReader
    Annotations
    @inline()
  13. def mark(arg0: Int): Unit
    Definition Classes
    Reader
    Annotations
    @throws(classOf[java.io.IOException])
  14. def markSupported(): Boolean
    Definition Classes
    Reader
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def nextNonWhitespace(): Char
    Definition Classes
    OneCharReader
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def read(): Int
    Definition Classes
    OneCharReader → Reader
  20. def read(cbuf: Array[Char], off: Int, len: Int): Int
    Definition Classes
    OneCharReader → Reader
  21. def read(arg0: Array[Char]): Int
    Definition Classes
    Reader
    Annotations
    @throws(classOf[java.io.IOException])
  22. def read(arg0: CharBuffer): Int
    Definition Classes
    Reader → Readable
    Annotations
    @throws(classOf[java.io.IOException])
  23. def ready(): Boolean
    Definition Classes
    Reader
    Annotations
    @throws(classOf[java.io.IOException])
  24. def reset(): Unit
    Definition Classes
    Reader
    Annotations
    @throws(classOf[java.io.IOException])
  25. def skip(arg0: Long): Long
    Definition Classes
    Reader
    Annotations
    @throws(classOf[java.io.IOException])
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from OneCharReader

Inherited from Reader

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Readable

Inherited from AnyRef

Inherited from Any

Ungrouped