- java.lang.Object
- 
- org.jooq.JSON
 
- 
- All Implemented Interfaces:
- Serializable
 
 public final class JSON extends Object implements Serializable A JSON wrapper type for JSON data obtained from the database.The wrapper represents JSON data()in serialised string form. ACAST(NULL AS JSON)value is represented by anullreference of typeJSON, not asdata() == null. This is consistent with jOOQ's general way of returningNULLfromResultandRecordmethods.- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Stringdata()booleanequals(Object obj)inthashCode()static @NotNull JSONjson(String data)Create a newJSONinstance from string data input.StringtoString()static @NotNull JSONvalueOf(String data)Create a newJSONinstance from string data input.
 
- 
- 
- 
Method Detail- 
data@NotNull public final @NotNull String data() 
 - 
valueOf@NotNull public static final @NotNull JSON valueOf(String data) Create a newJSONinstance from string data input.
 - 
json@NotNull public static final @NotNull JSON json(String data) Create a newJSONinstance from string data input.This is the same as valueOf(String), but it can be static imported.
 
- 
 
-