- Enclosing interface:
JSONContext<T extends Message.Mutable>
public static interface JSONContext.Parser
A blocking JSON parser.
-
Method Summary
-
Method Details
-
parse
Parses a JSON string from the given reader.
- Type Parameters:
R
- the type of the result- Parameters:
reader
- the reader to parse fromtype
- the type to cast the result to- Returns:
- the result of the JSON parsing
- Throws:
ParseException
- if the JSON is malformed
-