Interface JsonParserFactory
- All Known Implementing Classes:
GsonJsonParserFactory,JacksonJsonParserFactory
public interface JsonParserFactory
-
Method Summary
Modifier and TypeMethodDescriptionImplementation should create only instance of actual JSON parser.
-
Method Details
-
createJsonParser
Implementation should create only instance of actual JSON parser. This method is called for each request and should avoid long initialization or create big objects- Parameters:
in- - stream of bytes to parse as JSON- Returns:
- instance of
JsonParser - Throws:
IOException
-