This file has been truncated, but you can view the full file.
This file contains 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
//Dr. Seuss once wrote, "IF." He meant, "If you give a fuck, maybe, | |
//JUST MAYBE, you can change this shitty world in some small way for | |
//the better." I might've been an writer of children's books someday, | |
//but instead, I decided to make this. So in lieu of The Lorax, | |
//let's call this The Dragon, and have my word be, "DON'T." As in, | |
//"Don't do something stupid like this the way I did, you jackass." | |
//But the truth is humans are very stubborn creatures. You probably | |
//won't listen to my advice and, chances are, neither will I. | |
//This is just an excerpt of the source code for DRAGON: A Game About |
This file contains 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
static public bool JsonDataContainsKey(JsonData data,string key) | |
{ | |
bool result = false; | |
if(data == null) | |
return result; | |
if(!data.IsObject) | |
{ | |
return result; | |
} | |
IDictionary tdictionary = data as IDictionary; |