Prism · Core
$ref
Reads a value out of the source by JSONPath. A path starts with $. and names fields or array indexes.
{
user: {
id: 'u1',
name: 'Ada Lovelace',
email: '[email protected]',
},
items: [{ sku: 'A1' }, { sku: 'A2' }, { sku: 'A3' }],
}{ $ref: '$.user.name' }'Ada Lovelace'
Runs in this page on the installed package. The input and the expected output are defined by the example.