react-json-view
react-json-view copied to clipboard
JSON viewer for react
Particularly the Flux dep. Details here: https://thehackernews.com/2021/10/popular-npm-package-hijacked-to-publish.html
If I have an object like `{key: "line1\nline2"}` when viewing the json, the new line characters dissapear
This PR adds basic keyboard navigation (see https://github.com/mac-s-g/react-json-view/issues/355). It works similar to Chrome's DevTools object viewer. 
Is it possible to traverse a json object using just a keyboard? This includes being able to hit space/enter in order to expand/collapse a section of the tree.  If...
``` {name : 'a', email: '[email protected]', c: 2.0} ``` ``` {name : 'a', email: '[email protected]', c: 2.1} ``` So, I want to display `2.0` as `2.0`, not int, `2`
In order to replicate this issue take 2 keys in json key1: value1, key2: value2 1. on edit of "key1" with value "valEdit" return false so "key1" will again revert...
Hey @mac-s-g! I created this tiny PR to add `onSelect` to object keys as well. In a project I'm working on we need the keys to trigger the `onSelect` event...
I cannot get this library to work with any CDN link. Could you please provide a simple example of how you would use this library with a simple react page...
I copied this component from demo source. An error occurs after click on the Edit field button { console.log(e); this.setState({ src: e.updated_src }); } : false } onDelete={ onDelete ?...