cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

Unable to parse JSON with @odata.count in the response received from Windchill

ShirishMorkhade
16-Pearl

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:

WNC Response.png

  

From ThingWorx service, if I use dot (.) to read json key values. In case of @odata.count, ThingWorx composer is throwing syntax error. 

TWX Composer .jpg

 

Any idea how to read JSON key values having @ in the key name?

 

Thanks in advance!

 

- Shirish

ACCEPTED SOLUTION

Accepted Solutions

Nevermind, I am able to make it work by adding double quotes ( " ).

 

- Shirish

View solution in original post

1 REPLY 1

Nevermind, I am able to make it work by adding double quotes ( " ).

 

- Shirish

Announcements


Top Tags