allowTrailingComma

Allows parser to accept trailing (ending) commas in JSON objects and arrays, making inputs like [1, 2, 3,] and {"key": "value",} valid. Does not affect encoding. false by default.