fromStdJson#
- swordfish.function.fromStdJson()#
Convert X to a DolphinDB variable. The following table shows the data form/type mappings.
JSON
DolphinDB
object
Dictionary whose keys must be of STRING type, and values can be of ANY type if multiple types are converted.
array
vector
string
Convert to a Temporal value first. If fails, it converts to a UTF-8 string.
number
DOUBLE
boolean
BOOL
null
NULL
Note
Escape sequences will be automatically interpreted during conversion.
- Parameters:
X (Constant) – A scalar or vector of standard JSON string(s).