tulios / json-viewer

It is a Chrome extension for printing JSON and JSONP.
https://chrome.google.com/webstore/detail/json-viewer/gbmdgpbipfallnflgajpaliibnhdgobh
MIT License
3.34k stars 684 forks source link

Preserve spaces in plain strings #175

Closed ChaseWagoner closed 7 years ago

ChaseWagoner commented 7 years ago

Fixes #152.

Treat double-quote characters at the beginning of the received JSON as the beginning of a string.

Previously, a double-quote character at position 0 of the received JSON was disregarded (causing any spaces in the JSON string to be removed).

tulios commented 7 years ago

Awesome! I have some PRs to review this weekend, I'll try to get everything merged. Thanks!