Zoomed Image

AMSX Scripting Language - Command : JsonValue

Summary

Read a single value from the active AMSX JSON object by key

Description

Looks up the specified key in the top-level AMSX JSON object and stores the result as a string in the result buffer. Use $result$ as cmd to look up the key whose name is the current result buffer value. Returns an empty string if the key does not exist.

Parameters

ParameterDescription
cmdkey name to look up in the JSON object, or $result$ to use the result buffer as the key

Syntax


JsonValue "key name to look up in the JSON object, or $result$ to use the result buffer as the key"

Return to the AMSX Command Reference