Class Jsonb


  • public class Jsonb
    extends Object
    Type representing JSONB columns in PostgreSQL database as a wrapped string.
    • Field Detail

      • value

        public final String value
      • MAPPER

        public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
    • Constructor Detail

      • Jsonb

        public Jsonb​(String value)
    • Method Detail

      • fromMap

        public static Jsonb fromMap​(Map<String,​?> map)
        Returns JSONB object from map or null if map is null or empty.
      • fromList

        public static Jsonb fromList​(List<Object> list)
        Returns JSONB array from list or null if map is null or empty.