Would be possible for STON to report context for error? For example STON fromString: '[ "first", "second", ]'
reports "At character 23: invalid input" which is not very useful especially in longer strings. (at: 23 is actually Character cr) Maybe better would be something like 'At character 23: invalid input near "second", ]' so I already see the surrounding text (this is not perfect, but I find it very common for example to forget comma when moving things around in array. Or even better, allow comma after the last item. (Arguably even JSON (unlike JavaScript) doesn't allow this so maybe it would break stuff.) Peter