Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Json mapping problem

Hello! Working on it. I'll update.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Json mapping problem

According to content you've posted it's just a string. Automatically Create from Sample Response function ignores extra quotes and created response structure. But it's still a string and ajax request while retrieving this response and parsing it gets a string, not data structure. If you can't change server response structure there're two ways:
1) You can change manually service response structure (make content a string), but in this case you won't be able to use mapping, you would need to use JS.
2) You can use generic service and parse response the way you need, in this case you can use mapping.

Rick6334527
Posts: 0
Joined: Thu Oct 17, 2013 2:37 pm

Json mapping problem

\""lng\"":-96.75809936453837

Return to “Issues”