JSON Viewer
Accessible component for rendering JSON data as an explorable tree of expandable detail elements.
Installation
NPM
npm install @availity/json-viewer
Yarn
yarn add @availity/json-viewer
Usage
import React from 'react';
import JsonViewer from '@availity/json-viewer';
const Example = () => (
<JsonViewer
data={{ foo: { bar: { baz: ['stuff', 'things', 'etc.'] } } }}
expandAll
/>
);