Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Unhandled JSON root objects: number, string, true, false, null #14

Closed
rutsky opened this issue Sep 4, 2015 · 1 comment
Closed

Unhandled JSON root objects: number, string, true, false, null #14

rutsky opened this issue Sep 4, 2015 · 1 comment

Comments

@rutsky
Copy link
Contributor

rutsky commented Sep 4, 2015

JSON specification allows to represent number and string types objects, true, false and null values as root object, which isn't supported in react-json-inspector.

E.g. following code fails:

<JsonInspector data={null} />

Following code displays Nothing found:

<JsonInspector data={123} />
@Lapple
Copy link
Owner

Lapple commented Sep 4, 2015

This is something that has completely fallen out of my sight, will fix for sure, thanks!

@Lapple Lapple closed this as completed in f3d8741 Jan 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants