JSONObject.JSONObject C# (CSharp) Method

JSONObject() public method

public JSONObject ( string>.Dictionary dic ) : System.Diagnostics
dic string>.Dictionary
return System.Diagnostics
	public JSONObject(Dictionary<string, string> dic)
	{
		type = Type.OBJECT;
		keys = new List<string>();
		list = new List<JSONObject>();
		//Not sure if it's worth removing the foreach here
		foreach (KeyValuePair<string, string> kvp in dic)
		{
			keys.Add(kvp.Key);
			list.Add(CreateStringObject(kvp.Value));
		}
	}
	public JSONObject(Dictionary<string, JSONObject> dic)

Same methods

JSONObject::JSONObject ( ) : System.Diagnostics
JSONObject::JSONObject ( AddJSONConents content ) : System.Diagnostics
JSONObject::JSONObject ( JSONObject>.Dictionary dic ) : System.Diagnostics
JSONObject::JSONObject ( JSONObject, objs ) : System.Diagnostics
JSONObject::JSONObject ( Type t ) : System.Diagnostics
JSONObject::JSONObject ( bool b ) : System.Diagnostics
JSONObject::JSONObject ( double d ) : System.Diagnostics
JSONObject::JSONObject ( float f ) : System.Diagnostics
JSONObject::JSONObject ( string str, int maxDepth = -2, bool storeExcessLevels = false, bool strict = false ) : System.Diagnostics