josdejong / josdejong/jsoneditor

Feature Request: Hide the root object

Open
#1,078 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

I use JSONEditor for a [Laravel package](https://github.com/acidjazz/metapi) that helps nicely view a JSON response from an endpoint, this would be a good case where the root object (response) is not really needed, and a collapsed view would look much nicer:

![image](https://user-images.githubusercontent.com/967369/90093774-eaa2fa80-dcf1-11ea-8b39-7451f7f4690a.png)

While #453 has a nice workaround, like @rabbishuki said the collapsing functionality becomes useless.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.