Class/Object

fm.serializer.json

JSONInput

Related Docs: object JSONInput | package json

Permalink

abstract class JSONInput extends Input

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSONInput
  2. Input
  3. RawInput
  4. CollectionInput
  5. FieldInput
  6. NestedInput
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JSONInput(options: JSONDeserializerOptions)

    Permalink

Abstract Value Members

  1. abstract def next: Char

    Permalink

    Return peek and advance to the next character

    Return peek and advance to the next character

    Attributes
    protected
  2. abstract def peek: Int

    Permalink

    Peek at the next character without consuming it

    Peek at the next character without consuming it

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def allowStringMap: Boolean

    Permalink
    Definition Classes
    JSONInputRawInputFieldInputNestedInput
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def expectNextChar(ch: Int): Unit

    Permalink
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def handleCollectionComma(): Unit

    Permalink
  12. final def handleFieldComma(): Unit

    Permalink
  13. final def hasAnotherElement: Boolean

    Permalink

    Is there another element to read in the collection?

    Is there another element to read in the collection?

    Definition Classes
    JSONInputCollectionInput
  14. def hasNext: Boolean

    Permalink

    Is there a next character? (i.e.

    Is there a next character? (i.e. is peek valid?)

    Attributes
    protected
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def lastFieldName(): String

    Permalink

    The last field name that was read (if any)

    The last field name that was read (if any)

    Definition Classes
    JSONInputFieldInput
  18. final def lastFieldNumber(): Int

    Permalink

    The last field number that was read (if any)

    The last field number that was read (if any)

    Definition Classes
    JSONInputFieldInput
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def nextValueIsNull: Boolean

    Permalink

    Returns true if the next value is known to be null otherwise false if the value is not null or is unknown.

    Returns true if the next value is known to be null otherwise false if the value is not null or is unknown. This means that even if the next value ends up being null this can return false.

    Note: If the next value is null then this method should consume that input

    Definition Classes
    JSONInputRawInputNestedInput
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def readFieldName(): String

    Permalink

    If dynamic string maps are supported then this should be implemented otherwise this can just throw an exception.

    If dynamic string maps are supported then this should be implemented otherwise this can just throw an exception.

    null should be returns on the end of an object/message

    Definition Classes
    JSONInputFieldInput
  24. final def readFieldNumber(nameToNumMap: FieldNameToNumberLookup): Int

    Permalink

    This is for reading fields of an object.

    This is for reading fields of an object.

    Return the field number for the next readable field. Returns 0 if we've reached the end of the object/message

    Definition Classes
    JSONInputFieldInput
  25. final def readNestedBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    JSONInputNestedInput
  26. final def readNestedBigInteger(): BigInteger

    Permalink
    Definition Classes
    JSONInputNestedInput
  27. final def readNestedBool(): Boolean

    Permalink
    Definition Classes
    JSONInputNestedInput
  28. final def readNestedByteArray(): Array[Byte]

    Permalink
    Definition Classes
    JSONInputNestedInput
  29. final def readNestedCollection[T](f: (CollectionInput) ⇒ T): T

    Permalink
    Definition Classes
    JSONInputNestedInput
  30. final def readNestedDouble(): Double

    Permalink
    Definition Classes
    JSONInputNestedInput
  31. final def readNestedFixedInt(): Int

    Permalink
    Definition Classes
    JSONInputNestedInput
  32. final def readNestedFixedLong(): Long

    Permalink
    Definition Classes
    JSONInputNestedInput
  33. final def readNestedFloat(): Float

    Permalink
    Definition Classes
    JSONInputNestedInput
  34. final def readNestedInt(): Int

    Permalink
    Definition Classes
    JSONInputNestedInput
  35. final def readNestedLong(): Long

    Permalink
    Definition Classes
    JSONInputNestedInput
  36. final def readNestedObject[T](f: (FieldInput) ⇒ T): T

    Permalink
    Definition Classes
    JSONInputNestedInput
  37. final def readNestedSignedInt(): Int

    Permalink
    Definition Classes
    JSONInputNestedInput
  38. final def readNestedSignedLong(): Long

    Permalink
    Definition Classes
    JSONInputNestedInput
  39. final def readNestedString(): String

    Permalink
    Definition Classes
    JSONInputNestedInput
  40. final def readNestedUnsignedInt(): Int

    Permalink
    Definition Classes
    JSONInputNestedInput
  41. final def readNestedUnsignedLong(): Long

    Permalink
    Definition Classes
    JSONInputNestedInput
  42. final def readRawBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    JSONInputRawInput
  43. final def readRawBigInteger(): BigInteger

    Permalink
    Definition Classes
    JSONInputRawInput
  44. final def readRawBool(): Boolean

    Permalink
    Definition Classes
    JSONInputRawInput
  45. final def readRawByteArray(): Array[Byte]

    Permalink
    Definition Classes
    JSONInputRawInput
  46. final def readRawCollection[T](f: (CollectionInput) ⇒ T): T

    Permalink
    Definition Classes
    JSONInputRawInput
  47. final def readRawDouble(): Double

    Permalink
    Definition Classes
    JSONInputRawInput
  48. final def readRawFixedInt(): Int

    Permalink
    Definition Classes
    JSONInputRawInput
  49. final def readRawFixedLong(): Long

    Permalink
    Definition Classes
    JSONInputRawInput
  50. final def readRawFloat(): Float

    Permalink
    Definition Classes
    JSONInputRawInput
  51. final def readRawInt(): Int

    Permalink
    Definition Classes
    JSONInputRawInput
  52. final def readRawLong(): Long

    Permalink
    Definition Classes
    JSONInputRawInput
  53. final def readRawObject[T](f: (FieldInput) ⇒ T): T

    Permalink
    Definition Classes
    JSONInputRawInput
  54. final def readRawSignedInt(): Int

    Permalink
    Definition Classes
    JSONInputRawInput
  55. final def readRawSignedLong(): Long

    Permalink
    Definition Classes
    JSONInputRawInput
  56. final def readRawString(): String

    Permalink
    Definition Classes
    JSONInputRawInput
  57. final def readRawUnsignedInt(): Int

    Permalink
    Definition Classes
    JSONInputRawInput
  58. final def readRawUnsignedLong(): Long

    Permalink
    Definition Classes
    JSONInputRawInput
  59. def reportUnsetField[T](number: Int, name: String, hasUserDefinedDefaultValue: Boolean, deserializer: Deserializer[T]): Unit

    Permalink

    This is for reporting that fields for an object were not read and whether or not they had a user-defined default value.

    This is for reporting that fields for an object were not read and whether or not they had a user-defined default value.

    number

    The field number

    name

    The field name. Note: This can be null.

    hasUserDefinedDefaultValue

    Whether or not there was a user defined default value (e.g. val foo: Int = 123)

    deserializer

    The deserializer for the field. Note: This can be null.

    Definition Classes
    FieldInput
  60. final def skipUnknownField(): Unit

    Permalink

    Skip an unknown field value.

    Skip an unknown field value.

    If after calling readFieldNumber(...) we don't know how to handle the resulting field number then this method can be called to skip the value of the field after which we can call readFieldNumber(...) again.

    Definition Classes
    JSONInputFieldInput
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  62. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  63. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Input

Inherited from RawInput

Inherited from CollectionInput

Inherited from FieldInput

Inherited from NestedInput

Inherited from AnyRef

Inherited from Any

Ungrouped