Brion Vibber schreef:
Hmm, a related problem I see is that numeric strings aren't quoted. If I'm reading things properly, that means that, say, a page named "123" will decode with an integer value for the 'title' field instead of a string value.
While some scripting languages will happily convert automatically between integer and string types, others are pretty picky about this.
That's a generic problem which occurs with JSON and possibly other formats as well. I'll try to fix it, but with PHP's weak typing system it could be impossible.
Roan Kattouw (Catrope)