Class GsonJsonParserFactory
java.lang.Object
com.clickhouse.client.api.data_formats.GsonJsonParserFactory
- All Implemented Interfaces:
JsonParserFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImplementation should create only instance of actual JSON parser.protected voidcustomize(com.google.gson.GsonBuilder builder)
-
Constructor Details
-
GsonJsonParserFactory
public GsonJsonParserFactory()
-
-
Method Details
-
customize
protected void customize(com.google.gson.GsonBuilder builder) -
createJsonParser
Description copied from interface:JsonParserFactoryImplementation should create only instance of actual JSON parser. This method is called for each request and should avoid long initialization or create big objects- Specified by:
createJsonParserin interfaceJsonParserFactory- Parameters:
in- - stream of bytes to parse as JSON- Returns:
- instance of
JsonParser
-