Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing comma in request.json #4

Closed
zugaldia opened this issue May 14, 2018 · 1 comment
Closed

Trailing comma in request.json #4

zugaldia opened this issue May 14, 2018 · 1 comment

Comments

@zugaldia
Copy link

I'm trying to use the files in this repo as test fixtures and I'm hitting an issue parsing requests/v2/request.json. The following trailing comma is tripping my Json decoder (Jackson) as it goes against the JSON spec:

"parameters": {
  "param": "param value",
}

The error is:

com.fasterxml.jackson.core.JsonParseException: Unexpected character ('}' (code 125)): was expecting double-quote to start field name

Removing the comma fixes the issue.

Otherwise, thanks team for providing these files. It's great to have them as a resource while building a webhook.

@aradwyr
Copy link

aradwyr commented Aug 6, 2018

Fixed

@aradwyr aradwyr closed this as completed Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants