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

Conversation

Projects
None yet
2 participants
@lulzneko
Copy link
Contributor

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

This comment has been minimized.

Copy link
Member

commented Jun 20, 2019

Oh dear, thanks for the fix!

@lulzneko lulzneko deleted the lulzneko: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
You can’t perform that action at this time.