react-json-view icon indicating copy to clipboard operation
react-json-view copied to clipboard

JSON viewer for react

Results 138 react-json-view issues
Sort by recently updated
recently updated
newest added

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. ![CleanShot 2021-10-15 at 20 21 23](https://user-images.githubusercontent.com/927310/137528206-9558f8d1-42d7-4049-9e68-e2582ded5bf4.gif)

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. ![image](https://user-images.githubusercontent.com/25624685/116208262-a39e4d80-a738-11eb-972c-824fc251e6e9.png) 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 ?...