locked
Json : is not a member of Windows::Data

    Question

  • I am trying to access the namespace Windows::Data::Json. But on building it gives me the error Json' : is not a member of 'Windows::Data. Somehow Json namespace is not found nor is it detected by intellisense. Going by the forums many people seem to have used it so far. Whats wrong here?

    Wednesday, January 25, 2012 7:22 AM

Answers

  • Json is not added by default in the project reference for Cpp projects. I faced a similar issue and once i added reference to json it worked fine.

    adding   #using "windows.data.json.winmd"  in the  code too worked for me.

    • Marked as answer by amshinde Wednesday, January 25, 2012 5:32 PM
    Wednesday, January 25, 2012 11:20 AM