Unable to parse JSON with @odata.count in the response received from Windchill
Aug 27, 2024
04:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Aug 27, 2024
04:52 AM
Unable to parse JSON with @odata.count in the response received from Windchill
Hello All,
I am trying to read the count of object returned by WRS in ThingWorx/Navigate service. The count information is captured by "@odata.count" key in the WRS response.
Windchill Response:
From ThingWorx service, if I use dot (.) to read json key values. In case of @odata.count, ThingWorx composer is throwing syntax error.
Any idea how to read JSON key values having @ in the key name?
Thanks in advance!
- Shirish
Solved! Go to Solution.
Labels:
- Labels:
-
Custom Apps
ACCEPTED SOLUTION
Accepted Solutions
Aug 27, 2024
07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Aug 27, 2024
07:09 AM
Nevermind, I am able to make it work by adding double quotes ( " ).
- Shirish
1 REPLY 1
Aug 27, 2024
07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Aug 27, 2024
07:09 AM
Nevermind, I am able to make it work by adding double quotes ( " ).
- Shirish
