YYsuni/react18-json-view

Nested JSON Issue

Opened this issue · 1 comments

Hi,

Thank you very much for taking the time to make this library. I appreciate it. I attempted to integrate it into my application and I'm having an issue with nested JSONs. How can I ensure that these nested JSONs are handled properly and become part of the tree structure? Here is an image showing the current structure of the tree. Please let me know if you require any additional information from me. Any help at all is greatly appreciated.

Screenshot 2024-01-24 at 2 55 59 PM

Thank you,
dhpcc

Oh, you could use the custom node property, and if the params.name === EVENTDATA then return new <jsonview/>. Or, you could preprocess the data, it will be better.