- 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdata()booleanequals(Object obj)inthashCode()StringtoString()static JSONBvalueOf(String data)
-
-
-
Method Detail
-
data
public final String data()
-
-