1.0.14 • Published 3 years ago

react-object-visualizer v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago