Last updated 2 years ago
Was this helpful?
The JSONEncode() function encodes the given value to a json literal.
JSONEncode()
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Returns a new text that contains a JSON literal. Returns null if the value is unknown.
null
JsonEncode(
value
)
JsonEncode(List(1,2,3)) => [1,2,3]
JsonEncode(List(1,2,3))
text, numeric, yes/no, list
values of these types can be used.