jsonb_type
jsonb_typeβ
descriptionβ
It is used to determine the type of the field specified by json_path in JSONB data. If the field does not exist, return NULL. If it exists, return one of the following types
- object
- array
- null
- bool
- int
- bigint
- double
- string
Syntaxβ
STRING jsonb_type(JSONB j, VARCHAR json_path)
exampleβ
Refer to jsonb tutorial
keywordsβ
jsonb_type