Class

fm.serializer.jackson

JsonParserInput

Related Doc: package jackson

Permalink

final class JsonParserInput extends Input

An Input implementation on top of Jackson's JsonParser

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonParserInput
  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 JsonParserInput(parser: JsonParser, options: JSONOptions)

    Permalink

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. def allowStringMap: Boolean

    Permalink
    Definition Classes
    JsonParserInputRawInputFieldInputNestedInput
  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 getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def hasAnotherElement: Boolean

    Permalink

    Is there another element to read in the collection?

    Is there another element to read in the collection?

    Definition Classes
    JsonParserInputCollectionInput
  11. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  13. 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
    JsonParserInputFieldInput
  14. 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
    JsonParserInputFieldInput
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. 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
    JsonParserInputRawInputNestedInput
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. 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 returned on the end of an object/message

    Definition Classes
    JsonParserInputFieldInput
  20. def readFieldNumber(nameToNumMap: Map[String, Int]): 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
    JsonParserInputFieldInput
  21. def readNestedBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  22. def readNestedBigInteger(): BigInteger

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  23. def readNestedBool(): Boolean

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  24. def readNestedByteArray(): Array[Byte]

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  25. def readNestedCollection[T](f: (CollectionInput) ⇒ T): T

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  26. def readNestedDouble(): Double

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  27. def readNestedFixedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  28. def readNestedFixedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  29. def readNestedFloat(): Float

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  30. def readNestedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  31. def readNestedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  32. def readNestedObject[T](f: (FieldInput) ⇒ T): T

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  33. def readNestedSignedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  34. def readNestedSignedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  35. def readNestedString(): String

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  36. def readNestedUnsignedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  37. def readNestedUnsignedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputNestedInput
  38. def readRawBigDecimal(): BigDecimal

    Permalink
    Definition Classes
    JsonParserInputRawInput
  39. def readRawBigInteger(): BigInteger

    Permalink
    Definition Classes
    JsonParserInputRawInput
  40. def readRawBool(): Boolean

    Permalink
    Definition Classes
    JsonParserInputRawInput
  41. def readRawByteArray(): Array[Byte]

    Permalink
    Definition Classes
    JsonParserInputRawInput
  42. def readRawCollection[T](f: (CollectionInput) ⇒ T): T

    Permalink
    Definition Classes
    JsonParserInputRawInput
  43. def readRawDouble(): Double

    Permalink
    Definition Classes
    JsonParserInputRawInput
  44. def readRawFixedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputRawInput
  45. def readRawFixedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputRawInput
  46. def readRawFloat(): Float

    Permalink
    Definition Classes
    JsonParserInputRawInput
  47. def readRawInt(): Int

    Permalink
    Definition Classes
    JsonParserInputRawInput
  48. def readRawLong(): Long

    Permalink
    Definition Classes
    JsonParserInputRawInput
  49. def readRawObject[T](f: (FieldInput) ⇒ T): T

    Permalink
    Definition Classes
    JsonParserInputRawInput
  50. def readRawSignedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputRawInput
  51. def readRawSignedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputRawInput
  52. def readRawString(): String

    Permalink
    Definition Classes
    JsonParserInputRawInput
  53. def readRawUnsignedInt(): Int

    Permalink
    Definition Classes
    JsonParserInputRawInput
  54. def readRawUnsignedLong(): Long

    Permalink
    Definition Classes
    JsonParserInputRawInput
  55. 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.

    Definition Classes
    FieldInput
  56. 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
    JsonParserInputFieldInput
  57. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. 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