I am looking for a javascript library that makes arbitrary (but acyclic) JSON data blocks in the form of a semi-interactive HTML representation. James Padolsi Prettyprint is close, but her very detailed output (the "object" and "array" headers at all, for example) is only slightly interactive (the ability to collapse and expand subtrees would be nice, especially) and would not be particularly customizable. I also found jstree , but it does not seem to execute arbitrary drops of JSON data, but only those that are specifically designed to feed it. Also, a strict tree view is not really suitable for the data that I have; I want more key / value representation (but with some values ββare nested objects).
I do not need the ability to change the data structure, just show it in a more or less understandable way for a person.
Any suggestions?
source
share