I am creating a Windows 8 App in C# using Visual Studio. I am trying to take a bunch of data input and create a JSON object from that data. Here is my preliminary test method that does not work:
        IJsonValue name = "Alex"; 
        JsonObject Character = new JsonObject();
        Character.Add("Name", name);
The error that I am getting is
Cannot Implicitly convert type 'string' to 'Windows.Data.Json.IJsonValue'
I looked up the documentation for IJsonValue but couldn't figure out how to create an instance of IJsonValue containing a string. So how do I store data in an IJsonValue to be added to a JsonObject?
 
     
     
    