_parseJson#
Fully qualified name: usd_optimize::_parseJson
- bool usd_optimize::_parseJson(
- const PXR_NS::UsdStageWeakPtr &usdStage,
- const PXR_NS::JsValue &document,
- ExecutionContext *context = nullptr,
Execute one or more operations on a stage based on the contents of a JSON document.
The JSON document is expected to be an Array containing a number of commands to execute.
If no ExecutionContext is provided then a default one will be created.
- Parameters:
usdStage – The Usd Stage to operate on.
document – A JSON document
context – The execution context