Returned value

Aug 22, 2014 at 7:39 AM
Hi,

At both the following cites:

http://blogs.msdn.com/b/vcblog/archive/2013/02/26/the-c-rest-sdk-quot-casablanca-quot.aspx
http://msdn.microsoft.com/en-us/library/jj950082.aspx

you can see:
const json::value &str = iter->first;
const json::value &v = iter->second;

which is wrong. Shouldn't it be:
const utility::string_t &str = iter->first;

/RezRaz
Coordinator
Aug 22, 2014 at 4:28 PM
Edited Aug 22, 2014 at 6:19 PM
Hi RezRaz,

Yes you are correct, we made a breaking change to our JSON library in our 2.0.0 release. The first link is from a blog post back at the beginning of 2013 announcing the project going open source here on CodePlex. The second is msdn documentation for Visual Studio. Our 1.0.0 version shipped inside Visual Studio 2013.

In both of these cases I don't we will be updating or making any changes. The blog post captures a point in time and refers to previous release which others are free to continue using. The reference documentation for Visual Studio 2013 won't be updated because then it would be incorrect for what is actually in the product. For the latest documentation look on CodePlex here. Our latest reference documentation can be located here.

Steve