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

Always create readable JSON strings. #20

Merged
merged 1 commit into from Apr 25, 2014
Merged

Always create readable JSON strings. #20

merged 1 commit into from Apr 25, 2014

Conversation

longsleep
Copy link
Contributor

JSON API should return readable JSON code.The cost of the extra data transfer is negligible, especially when you compare to the cost of not implementing gzip.

For more info on that matter please see http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#pretty-print-gzip

@dougblack
Copy link
Owner

Awesome! Thanks @longsleep.

dougblack added a commit that referenced this pull request Apr 25, 2014
Always create readable JSON strings.
@dougblack dougblack merged commit 929e726 into dougblack:master Apr 25, 2014
@parkr
Copy link

parkr commented Apr 25, 2014

❤️

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

Successfully merging this pull request may close these issues.

None yet

3 participants