FunctionsJSON
to_json
Converts an input value into its JSON representation, preserving JSON inputs and encoding non-JSON scalar values using NYXDB's canonical mapping.
to_json(…) → JSONKind · scalar
Converts an input value into its JSON representation, preserving JSON inputs and encoding non-JSON scalar values using NYXDB's canonical mapping.
Part of the JSON family.
row_to_json
Builds a JSON object from the current row arguments. Each argument is emitted as f1, f2, ... and converted with the native SQL-to-JSON mapping.
to_json_string
Converts an input value to canonical JSON text. The result is returned as a String column containing the serialized JSON token for each row.