Skip to content

Instantly share code, notes, and snippets.

@yujuwon
Created February 20, 2013 01:10
using System.Net.Json;
class Program
{
static void Main(string[] args)
{
String inJson = "{'name':'test', 'type':'test'}";
JsonTextParser parser = new JsonTextParser();
JsonObject obj = parser.Parse(outJson);
JsonObjectCollection col = (JsonObjectCollection)obj;
string name = (string)col["name"].GetValue();
string type = (string)col["type"].GetValue();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment