Alternatives to react-json-pretty
200 apps like react-json-pretty, closest match first.
Top picks
- R

react18-json-view
Launchreact18-json-view is a React component that displays JavaScript arrays and JSON objects as a collapsible, readable tree. It supports all JavaScript types, so you can show nested data from an API or a debugging session without writing your o
- S

searchable-react-json-view
LaunchInteractive react component for displaying javascript arrays and JSON objects.
- U
@uiw/react-json-view
LaunchJSON viewer for react.
- J

json-edit-react
Launchjson-edit-react is a React component for viewing and editing JSON or other object data inside a web page. You drop it into your app and it renders the data as an expandable tree where users can edit a single value or a whole block of JSON t
- J
json-view-cn
LaunchJSON Tree Viewer is a React component that shows JSON as a collapsible, syntax-highlighted tree. You can expand and collapse nodes, turn indent guides on or off, and collapse a node by default so large objects open compact. It includes copy
- R

react-json-viewer-cool
LaunchReact json view plugin, supports expansion and hiding. Uses react hooks.
More like react-json-pretty
vue-json-pretty
A JSON tree view component that is easy to use and also supports data selection

react-json-view-compare
React json compare view plugin, supports expansion and hiding.use react hooks

react-json-to-csv
A react button component to easily generate csv downloads of your json data

react-interpolate-component
A component for React that renders elements into a format string containing

react-simple-typewriter
A simple react component for adding a nice typewriter effect to your project
About react-json-pretty

react-json-pretty
A code formatting tool for raw json data
react-json-pretty is a small React component that formats and prettifies JSON data for display in the browser. You pass it a data prop that holds either a JSON string or a plain JavaScript object. It is based on JSON.stringify, so it supports the same optional replacer and spacing parameters. Styling works in two ways: you can import one of its themes through a stylesheet loader such as css-loader in webpack, or use the theme prop, whose values are applied as inline styles on the target elements. You can also set custom styles for a specific value type, such as the padding of the main area or the font size of normal values. To catch parse problems, pass an onJSONPrettyError function, which receives the errors from JSON.parse. The README notes that objects which are not plain should be preprocessed with circular-json or a similar tool before they are passed in.
- Price
- Free
- Made by
- chenckang
- Category
- UI Libraries
- Website
- github.com/chenckang/react-json-pretty






























