REBASE

Change {data} property names.

Parameter List

Syntax
REBASE(datapropertynew_property
[property1new_property1]
)
data

The JSON {data} to be updated.

property

The name of the current property to be changed.

new_property

The new name of the property.

[optional] property1

The name of the current property to be changed.

Examples

REBASE('{"name": "Ann"}', "name", "first_name") returns {"first_name": "Ann"}