This section contains reference documentation for the TOJSONMAPSTR function.
Convert map to JSON String. This function can only be used in an ingestion transformation function.
TOJSONMAPSTR(map)
The usage examples are based on extracting fields from the following JSON document:
Expression | Value |
---|---|
This function can be used in the table config to extract the meta
property into the data
column, as described below:
TOJSONMAPSTR(meta)
"{\"age\":12}"