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

Commented Unassigned: How do I access data by name? [339]

$
0
0
How can I access data by name instead of having to do string processing? Attached please find my code to parse the json.

Comments: Both of these compile and run, but the string contains the entire array (three numbers) and not just the first element (the value for time). const string_t& strTime = arr1Iter->serialize(); const string_t& strTime2 = arr1Iter[0].serialize();

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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