With Vim 7.4.1165 try jsondecode('[,]')
. This will produce [v:none]
, but this string is not a correct JSON. jsondecode('[1,]')
produces [1]
, but JSON spec does not allow trailing commas. jsondecode('{1: 1,}')
produces {'1': 1}
, but JSON spec does not allow non-string keys or trailing comma.
—
Reply to this email directly or view it on GitHub.
Also jsondecode('1.')
produces 1.0
, but JSON spec does not allow omitting number after decimal point.
Closed #593.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.