Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
How does the JSON object work? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How does the JSON object work?

Received Response
22
Views
3
Comments
edited Jan 9, 2020 2:35PM in Digital Assistant and Mobile 3 comments

Summary

JSON object displayed in tester is not how you call the variables

Content

Hi, I'd like some kind of resource or article explaining how to reference items in the JSON object (using ApacheFreemarker) as there seems to be a discrepancy with how the JSON object is displayed in the tester vs. how you use Apache Freemarker to reference the item.

For example, you use "${system.message.messagePayload.text}" to reference the latest user-input but in the JSON object, it just appears as { "text": "Some_user_response", ....}

Version

19.4.1

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!