locked
how to create json object in wp8 RRS feed

  • Question

  • I simply want to create Json in wp8 project that looks like:

    {
    "name":"vaibhav",
    "age":"21",
    "rank":25
    }

    Which library I should add? How to use json object to insert key value pairs?


    Monday, June 23, 2014 6:33 AM

All replies

  • What project are you using, a c# project?

    http://pauliom.wordpress.com

    Monday, June 23, 2014 10:14 AM
  • Simply use this code : JsonConvert.SerializeObject
    you just need Json.net Link

    thanks
    • Proposed as answer by Ch 01 Saturday, June 28, 2014 8:02 AM
    Monday, June 23, 2014 2:33 PM