- java.lang.Object
- 
- org.jooq.JSONB
 
- 
- All Implemented Interfaces:
- Serializable
 
 public final class JSONB extends Object implements Serializable A JSON wrapper type for JSONB data obtained from the database.The wrapper represents JSONB data()in serialised string form. ACAST(NULL AS JSONB)value is represented by anullreference of typeJSONB, 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 JSONBjsonb(String data)Create a newJSONBinstance from string data input.StringtoString()static @NotNull JSONBvalueOf(String data)Create a newJSONBinstance from string data input.
 
- 
- 
- 
Method Detail- 
data@NotNull public final @NotNull String data() 
 - 
valueOf@NotNull public static final @NotNull JSONB valueOf(String data) Create a newJSONBinstance from string data input.
 - 
jsonb@NotNull public static final @NotNull JSONB jsonb(String data) Create a newJSONBinstance from string data input.This is the same as valueOf(String), but it can be static imported.
 
- 
 
-