Class/Object

fm.json

JsonNodeParser

Related Docs: object JsonNodeParser | package json

Permalink

final case class JsonNodeParser(node: JsonNode) extends JsonParser with Product with Serializable

This creates a Jackson JsonParser for a given JsonNode.

This is a quick and dirty implementation that probably needs some work.

Note: If you are trying to parse a JsonNode from a JsonParser then use the JsonNode.parse() method.

node

The JsonNode to create a JsonParser for

Linear Supertypes
Serializable, Serializable, Product, Equals, JsonParser, Versioned, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonNodeParser
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsonParser
  7. Versioned
  8. Closeable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonNodeParser(node: JsonNode)

    Permalink

    node

    The JsonNode to create a JsonParser for

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 _codec(): ObjectCodec

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  5. def _constructError(arg0: String): JsonParseException

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  6. def _constructReadException(arg0: String, arg1: Throwable): JsonParseException

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  7. def _constructReadException(arg0: String, arg1: Any, arg2: Any, arg3: Any): JsonParseException

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  8. def _constructReadException(arg0: String, arg1: Any, arg2: Any): JsonParseException

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  9. def _constructReadException(arg0: String, arg1: Any): JsonParseException

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  10. def _constructReadException(arg0: String): JsonParseException

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  11. def _reportUnsupportedOperation(): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonParser
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def assignCurrentValue(arg0: Any): Unit

    Permalink
    Definition Classes
    JsonParser
  14. def canParseAsync(): Boolean

    Permalink
    Definition Classes
    JsonParser
  15. def canReadObjectId(): Boolean

    Permalink
    Definition Classes
    JsonParser
  16. def canReadTypeId(): Boolean

    Permalink
    Definition Classes
    JsonParser
  17. def canUseSchema(arg0: FormatSchema): Boolean

    Permalink
    Definition Classes
    JsonParser
  18. def clearCurrentToken(): Unit

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  20. def close(): Unit

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser → Closeable → AutoCloseable
  21. def configure(arg0: Feature, arg1: Boolean): JsonParser

    Permalink
    Definition Classes
    JsonParser
  22. def currentLocation(): JsonLocation

    Permalink
    Definition Classes
    JsonParser
  23. def currentName(): String

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  24. def currentToken(): JsonToken

    Permalink
    Definition Classes
    JsonParser
  25. def currentTokenId(): Int

    Permalink
    Definition Classes
    JsonParser
  26. def currentTokenLocation(): JsonLocation

    Permalink
    Definition Classes
    JsonParser
  27. def currentValue(): AnyRef

    Permalink
    Definition Classes
    JsonParser
  28. def disable(arg0: Feature): JsonParser

    Permalink
    Definition Classes
    JsonParser
  29. def enable(arg0: Feature): JsonParser

    Permalink
    Definition Classes
    JsonParser
  30. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def finishToken(): Unit

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  32. def getBigIntegerValue(): BigInteger

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  33. def getBinaryValue(bv: Base64Variant): Array[Byte]

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  34. def getBinaryValue(): Array[Byte]

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  35. def getBooleanValue(): Boolean

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  36. def getByteValue(): Byte

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  37. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  38. def getCodec(): ObjectCodec

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  39. def getCurrentLocation(): JsonLocation

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  40. def getCurrentName(): String

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  41. def getCurrentToken(): JsonToken

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  42. def getCurrentTokenId(): Int

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  43. def getCurrentValue(): AnyRef

    Permalink
    Definition Classes
    JsonParser
  44. def getDecimalValue(): BigDecimal

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  45. def getDoubleValue(): Double

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  46. def getEmbeddedObject(): AnyRef

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  47. def getFeatureMask(): Int

    Permalink
    Definition Classes
    JsonParser
  48. def getFloatValue(): Float

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  49. def getFormatFeatures(): Int

    Permalink
    Definition Classes
    JsonParser
  50. def getInputSource(): AnyRef

    Permalink
    Definition Classes
    JsonParser
  51. def getIntValue(): Int

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  52. def getLastClearedToken(): JsonToken

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  53. def getLongValue(): Long

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  54. def getNonBlockingInputFeeder(): NonBlockingInputFeeder

    Permalink
    Definition Classes
    JsonParser
  55. def getNumberType(): NumberType

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  56. def getNumberValue(): Number

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  57. def getNumberValueExact(): Number

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  58. def getObjectId(): AnyRef

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  59. def getParsingContext(): JsonStreamContext

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  60. def getReadCapabilities(): JacksonFeatureSet[StreamReadCapability]

    Permalink
    Definition Classes
    JsonParser
  61. def getSchema(): FormatSchema

    Permalink
    Definition Classes
    JsonParser
  62. def getShortValue(): Short

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  63. def getText(): String

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  64. def getText(arg0: Writer): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  65. def getTextCharacters(): Array[Char]

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  66. def getTextLength(): Int

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  67. def getTextOffset(): Int

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  68. def getTokenLocation(): JsonLocation

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  69. def getTypeId(): AnyRef

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  70. def getValueAsBoolean(arg0: Boolean): Boolean

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  71. def getValueAsBoolean(): Boolean

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  72. def getValueAsDouble(arg0: Double): Double

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  73. def getValueAsDouble(): Double

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  74. def getValueAsInt(arg0: Int): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  75. def getValueAsInt(): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  76. def getValueAsLong(arg0: Long): Long

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  77. def getValueAsLong(): Long

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  78. def getValueAsString(default: String): String

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  79. def getValueAsString(): String

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  80. def hasCurrentToken(): Boolean

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  81. def hasTextCharacters(): Boolean

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  82. def hasToken(t: JsonToken): Boolean

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  83. def hasTokenId(id: Int): Boolean

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  84. def isClosed(): Boolean

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  85. def isEnabled(arg0: StreamReadFeature): Boolean

    Permalink
    Definition Classes
    JsonParser
  86. def isEnabled(arg0: Feature): Boolean

    Permalink
    Definition Classes
    JsonParser
  87. def isExpectedNumberIntToken(): Boolean

    Permalink
    Definition Classes
    JsonParser
  88. def isExpectedStartArrayToken(): Boolean

    Permalink
    Definition Classes
    JsonParser
  89. def isExpectedStartObjectToken(): Boolean

    Permalink
    Definition Classes
    JsonParser
  90. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  91. def isNaN(): Boolean

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  92. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  93. def nextBooleanValue(): Boolean

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  94. def nextFieldName(): String

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  95. def nextFieldName(arg0: SerializableString): Boolean

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  96. def nextIntValue(arg0: Int): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  97. def nextLongValue(arg0: Long): Long

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  98. def nextTextValue(): String

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  99. def nextToken(): JsonToken

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  100. def nextValue(): JsonToken

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  101. val node: JsonNode

    Permalink

    The JsonNode to create a JsonParser for

  102. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  104. def overrideCurrentName(name: String): Unit

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  105. def overrideFormatFeatures(arg0: Int, arg1: Int): JsonParser

    Permalink
    Definition Classes
    JsonParser
  106. def overrideStdFeatures(arg0: Int, arg1: Int): JsonParser

    Permalink
    Definition Classes
    JsonParser
  107. def readBinaryValue(arg0: Base64Variant, arg1: OutputStream): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  108. def readBinaryValue(arg0: OutputStream): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  109. def readValueAs[T](arg0: TypeReference[_]): T

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  110. def readValueAs[T](arg0: Class[T]): T

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  111. def readValueAsTree[T <: TreeNode](): T

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  112. def readValuesAs[T](arg0: TypeReference[T]): Iterator[T]

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  113. def readValuesAs[T](arg0: Class[T]): Iterator[T]

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  114. def releaseBuffered(arg0: Writer): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  115. def releaseBuffered(arg0: OutputStream): Int

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @throws( classOf[java.io.IOException] )
  116. def requiresCustomCodec(): Boolean

    Permalink
    Definition Classes
    JsonParser
  117. def setCodec(c: ObjectCodec): Unit

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  118. def setCurrentValue(arg0: Any): Unit

    Permalink
    Definition Classes
    JsonParser
  119. def setRequestPayloadOnError(arg0: String): Unit

    Permalink
    Definition Classes
    JsonParser
  120. def setRequestPayloadOnError(arg0: Array[Byte], arg1: String): Unit

    Permalink
    Definition Classes
    JsonParser
  121. def setRequestPayloadOnError(arg0: RequestPayload): Unit

    Permalink
    Definition Classes
    JsonParser
  122. def setSchema(arg0: FormatSchema): Unit

    Permalink
    Definition Classes
    JsonParser
  123. def skipChildren(): JsonParser

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser
  124. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  125. def version(): Version

    Permalink
    Definition Classes
    JsonNodeParser → JsonParser → Versioned
  126. final def wait(arg0: Long, arg1: Int): Unit

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

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

  2. def setFeatureMask(arg0: Int): JsonParser

    Permalink
    Definition Classes
    JsonParser
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JsonParser

Inherited from Versioned

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped