Class JsonExtract.ObjectFieldJsonExtractor<T>

    • Method Detail

      • extract

        public T extract​(com.fasterxml.jackson.core.JsonParser jsonParser)
                  throws IOException
        Description copied from interface: JsonExtract.JsonExtractor
        Executes the extraction on the existing content of the JsonParser and outputs the match.

        Notes:

        • JsonParser must be on the FIRST token of the value to be processed when extract is called
        • INVARIANT: when extract() returns, the current token of the parser will be the LAST token of the value
        Specified by:
        extract in interface JsonExtract.JsonExtractor<T>
        Returns:
        the value, or null if not applicable
        Throws:
        IOException
      • processJsonObject

        public T processJsonObject​(com.fasterxml.jackson.core.JsonParser jsonParser)
                            throws IOException
        Throws:
        IOException
      • processJsonArray

        public T processJsonArray​(com.fasterxml.jackson.core.JsonParser jsonParser)
                           throws IOException
        Throws:
        IOException