public CSJSONObject this[string key] { get { if (!m_dictObject.ContainsKey(key)) { return(null); } return(m_dictObject[key]); } set { if (m_dictObject == null) { f_eObjType = EJSONObjectType.eJOT_Object; } m_dictObject[key] = value; } }
public CSJSONObject(bool value) { m_eObjType = EJSONObjectType.eJOT_Bool; m_boolValue = value; }
public CSJSONObject(float value) { m_eObjType = EJSONObjectType.eJOT_Float; m_floatValue = value; }
public CSJSONObject(int value) { m_eObjType = EJSONObjectType.eJOT_Int; m_intValue = value; }
public CSJSONObject(string value) { m_eObjType = EJSONObjectType.eJOT_String; m_stringValue = value; }