Unsupported content

 

This version of the product is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

json.encode

json.encode(value)

Converts value to a JSON encoded string. Where value is a string, table, or a list including nested structures.If the value is not one of these types, e.g. a node set from search, or there is a problem JSON encoding value returns none.

For example the following code fragment sets encoded to the string '{"args":"-l /clusters/cluster-1/exports/storage-views"}'

encoded := json.encode(table(args := '-l /clusters/cluster-1/exports/storage-views'));


Was this page helpful? Yes No Submitting... Thank you

Comments