public static decimal[] DeserializeSystemDecimalArray(JSONArray jsonArray) { var result = new decimal[jsonArray.Length()]; for (var i = 0; i < result.Length; i++) { result[i] = (decimal)jsonArray.OptLong(i); } return result; }
public static ulong[] DeserializeSystemUInt64Array(JSONArray jsonArray) { var result = new ulong[jsonArray.Length()]; for (var i = 0; i < result.Length; i++) { result[i] = (ulong)jsonArray.OptLong(i); } return result; }