Page 1 of 1

Json mapping problem

Posted: Thu Oct 17, 2013 3:20 pm
by Maryna Brodina

Hello! Working on it. I'll update.


Json mapping problem

Posted: Thu Oct 17, 2013 5:58 pm
by Maryna Brodina

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.


Json mapping problem

Posted: Mon Jul 20, 2020 7:10 am
by Rick6334527

\""lng\"":-96.75809936453837