object

Description

Convert a datum into an object or NULL if conversion is impossible

Return type

object

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

object(value)

Argument

Type

Optional

Repeatable

Restrictions

value

convertible to object

no

no

none

Examples

make_col obj:object(parse_json(json))

Make a new column ‘obj’ consisting of the JSON objects parsed from the ‘json’ column.