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

Commented Unassigned: Storing JSON [75]

$
0
0
Hi,

How can i store received JSON values/JSON object using casablanca . Are there availible functions such as vector or map designed in casablanca specially for storing JSON value/JSON object ?
Comments: Hi srinivasdba, We have a class specifically for dealing with json values, called web::json::value. It allows you to build up json values. For json objects you can construct by iteratively adding string value pairs or by providing all the string value pairs up front at once. Take a look at the factory function web::json::value::object(...). After taking a look at these APIs let me know if there is anything else you need. You also could look at some of the json documentation on [CodePlex](https://casablanca.codeplex.com/wikipage?title=JSON&referringTitle=Documentation) and [msdn](http://msdn.microsoft.com/en-us/library/jj950082.aspx) for more examples. Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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