Class Jsonb
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqale.jsonb.Jsonb
-
public class Jsonb extends Object
Type representing JSONB columns in PostgreSQL database as a wrapped string.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Jsonb
fromList(List<Object> list)
Returns JSONB array from list or null if map is null or empty.static Jsonb
fromMap(Map<String,?> map)
Returns JSONB object from map or null if map is null or empty.static @NotNull List<Object>
toList(@NotNull Jsonb jsonb)
static @NotNull Map<String,Object>
toMap(@NotNull Jsonb jsonb)
String
toString()
-
-
-
Field Detail
-
value
public final String value
-
MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
-
-
Constructor Detail
-
Jsonb
public Jsonb(String value)
-
-