Feature Request: truncate long strings to the collapse length provided
CamdenFoucht opened this issue ยท 3 comments
CamdenFoucht commented
When using string collapse, it transforms a very long string into a very short "wha...od"
instead of shortening the string to the collapse length provided (i.e 99) such as seeing a more meaningful string: what is going on with...
It would be great if we could control this shortening behavior, or have some way to choose!
YYsuni commented
Your idea is great! I'll update it soon.๐
YYsuni commented
Hi, the latest canary version now supports the truncation feature. You can try it out by running npm i react18-json-view@canary
.
Before that, you could test it on https://jv.yysuni.com/ ๐
YYsuni commented
It's available on v0.2.5 now ๐