Package com.influxdb.client
Class JSON
java.lang.Object
com.influxdb.client.JSON
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Gson TypeAdapter for java.util.Date type If the dateFormat is null, ISO8601Utils will be used.class
Gson TypeAdapter for JSR310 LocalDate typestatic class
Gson TypeAdapter for JSR310 OffsetDateTime typestatic class
Gson TypeAdapter for java.sql.Date type If the dateFormat is null, a simple "yyyy-MM-dd" format will be used (more efficient than SimpleDateFormat). -
Constructor Summary
-
Method Summary
-
Constructor Details
-
JSON
public JSON()
-
-
Method Details
-
createGson
public static com.google.gson.GsonBuilder createGson() -
getGson
public com.google.gson.Gson getGson()Get Gson.- Returns:
- Gson
-
setGson
Set Gson.- Parameters:
gson
- Gson- Returns:
- JSON
-