public class Jsonb
extends Object
Type representing JSONB columns in PostgreSQL database as a wrapped string.
-
Field Summary
Fields
static final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
Constructors
-
Method Summary
Returns JSONB array from list or null if map is null or empty.
Returns JSONB object from map or null if map is null or empty.
-
Field Details
-
-
MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
-
-
Method Details
-
-
fromMap
Returns JSONB object from map or null if map is null or empty.
-
fromList
Returns JSONB array from list or null if map is null or empty.
-
-
toList
@NotNull
public static @NotNull List<Object> toList(@NotNull
@NotNull Jsonb jsonb)