Skip to main content

JSONDependent

Stentor API Reference


Stentor API Reference / stentor-models/src / JSONDependent

Interface: JSONDependent

Defined in: packages/stentor-models/src/JSONDependent.ts:12

Path based on evaluating a JSON path to determine the value that will be matched.

For example: name: $.request.slots.slot2.value will evaluate the slot with name slot2 name: $.context.storage.key1 will evaluate key1 on the user's storage

Properties​

JSONPathMatch​

JSONPathMatch: Match

Defined in: packages/stentor-models/src/JSONDependent.ts:18

Match data for the JSON path.

'name' on Match is the JSON path