dougblack / sleepy

rest for go
673 stars 56 forks source link

Always create readable JSON strings. #20

Closed longsleep closed 10 years ago

longsleep commented 10 years ago

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 commented 10 years ago

Awesome! Thanks @longsleep.

parkr commented 10 years ago

:heart: