Created
February 20, 2013 01:10
-
-
Save yujuwon/4991816 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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