Zoomed Image

AMSX Scripting Language - Command : JsonSelect

Summary

Query the active AMSX JSON object using a JSONPath selector expression

Description

Evaluates a JSONPath expression against the active AMSX JSON token and stores the matched value as a string in the result buffer. Throws if the path does not match any node. Use this for deep or array-indexed lookups where JsonValue is insufficient.

Parameters

ParameterDescription
cmdJSONPath selector expression (e.g. items[0].name)

Syntax


JsonSelect "JSONPath selector expression (e.g. items[0].name)"

Return to the AMSX Command Reference