Default language.

Important This documentation space contains information about the SaaS version of BMC Helix Discovery. If you are using the on-premises version of BMC Helix Discovery, see BMC Helix Discovery 25.2 (On-Premises).

json.decode


json.decode(value)


Decodes a JSON encoded string and returns a structure containing a number, boolean, null, string, table or list including nested structures. 

 


Where value is a JSON encoded string. If value is not a string or is an invalid JSON encoded string returns none.

For example the following code fragment sets decoded to table(args := '-l /clusters/cluster-1/exports/storage-views')

decoded := json.decode('{"args":"-l /clusters/cluster-1/exports/storage-views"}');

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*