public static bool ReadDictionaryIntInt(Dictionary <string, object> inDict, string inVariableName, ref Dictionary <int, int> refValue) { if (inDict.ContainsKey(inVariableName) == true) { if (refValue == null) { refValue = new Dictionary <int, int>(); } refValue = JSONTools.ReadDictionaryIntInt(inDict, inVariableName); return(true); } return(false); }