Created
October 17, 2011 23:49
-
-
Save ntotten/1294232 to your computer and use it in GitHub Desktop.
SimpleJson @object
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
| public static bool TryDeserializeObject(string json, out object @object) | |
| { | |
| bool success = true; | |
| if (json != null) | |
| { | |
| char[] charArray = json.ToCharArray(); | |
| int index = 0; | |
| @object = ParseValue(charArray, ref index, ref success); | |
| } | |
| else | |
| @object = null; | |
| return success; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment