Open CamdenFoucht opened 10 months ago
Your idea is great! I'll update it soon.😀
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/ 😁
It's available on v0.2.5 now 🙌
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!