Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: JSON valud conversion portability

$
0
0
Hello,
I am doing an experiment with a portable library (Android and Windows Phone) with VS 2015 CTP calling a third party API which return a a JSON containing a string property that is actually an integer (not a great idea but I can't change that third party API).

The problem seem related that Android as_string() version returns an std::string while Windows Phone version returns a std::wstring.

How can this be handled in a portable library?

Thanks,
Pedro

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>