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

Respond object literals to JSON #63

Merged
merged 1 commit into from Jun 20, 2019
Merged

Respond object literals to JSON #63

merged 1 commit into from Jun 20, 2019

Conversation

@lulzneko
Copy link
Contributor

@lulzneko lulzneko commented Jun 14, 2019

Object literal is returned when the request is received by Accept header contains 'application/json'.

The current JSON response implementation returns plain text enclosed in double quotes.
This pull request changes the double quoted plain text to an object literal.
This will allow the JSON parser to parse the response correctly.

@RobFaie RobFaie merged commit a2bde70 into Readify:master Jun 20, 2019
@RobFaie
Copy link
Member

@RobFaie RobFaie commented Jun 20, 2019

Oh dear, thanks for the fix!

@lulzneko lulzneko deleted the pr-json-object-response branch Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants