Interface IJsonIterator


public interface IJsonIterator
Interface for iterating over JSON-like data.
Since:
8.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <C,R> R
    matchContent(C context, Object value, IJsonContentMatcher<C,R> matcher)
    Matches a JSON value and calls one of the given matcher methods, depending on the type of the value.
  • Method Details

    • matchContent

      <C,R> R matchContent(C context, Object value, IJsonContentMatcher<C,R> matcher)
      Matches a JSON value and calls one of the given matcher methods, depending on the type of the value.
      Type Parameters:
      C - The type of the context passed to the matcher methods.
      R - The type of the result.
      Parameters:
      context - The context passed to the matcher methods.
      value - The JSON value to match.
      matcher - The matcher to call.
      Returns:
      The result returned by the matcher methods.