Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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;
        }