1.0.14 • Published 4 years ago

react-object-visualizer v1.0.14

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

Object Visualizer

A light weight react component to visualize the JSON object in a table format.

Example

alt text

Features

  • can expand/collapse nested objects
  • options to support levels of default expansion, especialy useful for smaller objects
  • options to support customized size to expand object by default

How to use

  1. Import the mount function from the module
import { ObjectVisualizer } from "react-object-visualizer";
  1. add the component to code
// data is the object to be visualize, configs are optional config parameters
<ObjectVisualizer
    object={data}
    configs={{
        defaultExpandLevels: 1,
        defaultExpandObjectSizeLimit: 500
    }}
></ObjectVisualizer>
  1. Check in Browser

The object should now be shown in a table format!

License

MIT

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago