1.1.3 • Published 2 years ago

json-viewer-react v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

JSON-viewer

NPM version License

Features

✓ view JSON as tree

✓ expanding an collapsing properties

✓ primitive properties colorization

✓ casting null type to string

✓ zero dependencies

Demo

https://jade-hamster-a6833c.netlify.app

Installing

npm i json-viewer-react

or

yarn add json-viewer-react

Import

import { JsonViewer } from 'json-viewer-react';

Example usage

import  { JsonViewer }  from "json-viewer-react"
import  json  from './data.json';

function App() {
  return (
    <JsonViewer json={json} />
  );
}

export default App;

React support

Component supports react >16.0.0

License

This project is licensed under the MIT License - see the LICENSE.md file for details

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago