JSON parser incorrectly parses '[' with newline and then ']'

Description

The following JSON fails to parse with "read: expected: digits, got: ]"

[
{ "a" : {
"b": [
]}}]

The following succeeds in parsing:

[
{ "a" : {
"b": []}}]

So I'm guessing that the newline after the '[' is causing this (at least that's what my test case suggests). I've checked with a couple JSON validators (jsonlint.com being one) and this is indeed valid JSON (discovered from the blip.tv API if you're curious).