Select JSON value

Accepts a string containing a JSON value as an input, selects a specific value out of that object using the JSON Pointer specification, and provides a result variable as a STRING.

Restriction: This command is available in select clouds. To request this command for your cloud, contact Perfecto Support .

Parameters

 Name Type Default Description

Input String*

String


The JSON data to be parsed.

JSONPointer String*

String

 

The string that selects the requested value.

Result variable*

String


The variable to receive the string value.

Comment

String

 

Adds a comment to the script.

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory parameter