litejs / json-lite

Fast non-blocking JSON viewer for Chrome and Firefox
196 stars 17 forks source link

Decode feature? #35

Closed AurevoirXavier closed 6 years ago

AurevoirXavier commented 6 years ago

Awesome plugin, but sometimes I want to see the word instead of the unicode (\uxxxx).

What should I do?

AurevoirXavier commented 6 years ago

Btw, if it support auto linefeed that will be much better.

lauriro commented 6 years ago

Option a) select unicode (\uxxxx) with mouse and select "JSON Lite"->Decode->Unicode under right click. Option b) select "Auto-unescape strings" in JSON Lite settings.

The part about auto linefeed i did not understand.

AurevoirXavier commented 6 years ago

I'm Safari user, I can't find the JSON Lite settings or Decode option.

And sorry for my expression, I mean some field which have a long content that should be show in a newline.

img

JSONView can handle that, but I love JSON Lite's features more.

lauriro commented 6 years ago

Safari port is very old and I dont have access to osx. I wrote some ideas to safari branch without testing.

Maybe one day I find time to make my macbook dualboot and install osx back :p

lauriro commented 6 years ago

there is a new release for testing https://www.litejs.com/pub/json-lite-18.2.0.safariextz

AurevoirXavier commented 6 years ago

Oh, thanks for your hard work!

It works great!

There's a little problem, only the unescaped strings can be format, the long url still out of the screen.

lauriro commented 6 years ago

there is a new release for testing https://www.litejs.com/pub/json-lite-18.2.1.safariextz

AurevoirXavier commented 6 years ago

All features work correctly!

It's the best json plugin I have ever used, thanks!

Grossdm commented 6 years ago

@lauriro , perhaps @AurevoirXavier meant something like "word wrap" when he wrote "auto linefeed"?

Doug®

AurevoirXavier commented 6 years ago

Hey, I update to Mojave today and Safari don't allow to install extension outside the official website. Could you upgrade it~~~? :)