caldwell / renderjson

Render JSON into collapsible HTML
http://caldwell.github.io/renderjson
415 stars 91 forks source link

For long strings as values, hide them until user expands them #4

Closed mitar closed 9 years ago

mitar commented 9 years ago

Could you please implement similarly to how nested objects are collapsed that also for huge/long string values they are initially collapsed and then user can expand them? So I have an issue that some objects have really long strings. And it would be great if they would not be shown unless user requests that.

I was looking at the code but was unsure how to implement this.

mitar commented 9 years ago

Merged.