JSONTools.JSONObject.GetChild C# (CSharp) Method

GetChild() public method

public GetChild ( string ChildName ) : JSONObject
ChildName string
return JSONObject
        public JSONObject GetChild(string ChildName)
        {
            foreach (JSONObject child in this.ChildObjects)
            {
                if (child.Name == null) { continue; }
                if (child.Name.ToUpper() == ChildName.ToUpper())
                {
                    return child;
                }
            }
            return null;
        }