Interface StreamingJsonReaderCallback


public interface StreamingJsonReaderCallback
Callback interface for token matching in StreamingJsonReader.
Since:
1.0
Version:
2019-09-19
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(com.fasterxml.jackson.core.JsonParser parser)
    Called when the reader finds a token that matches the callback path.
  • Method Details

    • call

      void call(com.fasterxml.jackson.core.JsonParser parser) throws IOException
      Called when the reader finds a token that matches the callback path. The parser will still point to the matched token unless value was true when adding the callback. This will cause the reader to advance to the value token so the value can be read directly in the callback.
      Parameters:
      parser - the json parser
      Throws:
      IOException - if there ie an error