json
jsonb_typeof
Returns the top-level JSON type name; JSON null yields text null, SQL NULL yields SQL NULL.
Formal Syntax & Structure
sql syntaxsql
jsonb_typeof(jsonb)Working Example
Example Snippetsql
SELECT jsonb_typeof('null'), jsonb_typeof(NULL);