This project is read-only.
1
Vote

Invalid JSON Output

description

Your JsonArray class outputs invalid JSON. On the ToString() overload replace:
    if (result.Length > 0)
with
     if (result.Length > 0 && part != parts[Count-1])
The comma (',') after the last element breaks it.

comments