Class JsonInMemoryParser

    • Field Detail

      • currentEvent

        private jakarta.json.stream.JsonParser.Event currentEvent
      • currentValue

        private jakarta.json.JsonValue currentValue
      • arrayDepth

        private int arrayDepth
      • objectDepth

        private int objectDepth
    • Method Detail

      • currentEvent

        public jakarta.json.stream.JsonParser.Event currentEvent()
      • current

        public jakarta.json.stream.JsonParser.Event current()
        Returns:
        the _current_ Event. That's the one returned by the previous call to JsonParser.next() but without propagating the Event pointer to the next entry.
      • isInArray

        protected boolean isInArray()
        Specified by:
        isInArray in class JohnzonJsonParserImpl
        Returns:
        true if we are currently inside an array
      • getEvent

        private static jakarta.json.stream.JsonParser.Event getEvent​(jakarta.json.JsonValue.ValueType value)
      • hasNext

        public boolean hasNext()
      • getString

        public String getString()
      • isIntegralNumber

        public boolean isIntegralNumber()
      • isNotTooLong

        public boolean isNotTooLong()
      • getInt

        public int getInt()
      • getLong

        public long getLong()
      • isFitLong

        public boolean isFitLong()
      • getBigDecimal

        public BigDecimal getBigDecimal()
      • getLocation

        public jakarta.json.stream.JsonLocation getLocation()
      • close

        public void close()