fromJson#

swordfish.function.fromJson()#

Converta a JSON string that complies with DolphinDB specification to a DolphinDB variable.

A JSON string that complies with DolphinDB specification has at least the following 3 key-value pairs: form, type and value.

For a table, the key-value pair ‘name’ can indicate column names.

Parameters:

X (Constant) – A JSON string that complies with DolphinDB specification.