LitJSON / litjson

JSON library for the .Net framework
https://litjson.net/
Other
1.36k stars 403 forks source link

litjson doesn't support ',' at the end of objects list.. #119

Closed ifeuille closed 4 years ago

ifeuille commented 4 years ago

such as { "k1":"v1", }

devlead commented 4 years ago

JavaScript has allowed trailing commas in array literals since the beginning, and later added them to object literals (ECMAScript 5) and most recently (ECMAScript 2017) to function parameters.

JSON, however, disallows trailing commas.