Package de.xima.fc.common.json
Interface IJsonIterator
-
public interface IJsonIteratorInterface for iterating over JSON-like data.- Since:
- 8.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <C,R>
RmatchContent(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 Detail
-
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.
-
-