Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object values of arrays #65

Open
danwellman opened this issue Aug 4, 2021 · 0 comments
Open

Object values of arrays #65

danwellman opened this issue Aug 4, 2021 · 0 comments

Comments

@danwellman
Copy link

danwellman commented Aug 4, 2021

Right now, if you feed the viewer some JSON like this:

json = {
   things: [
     { name: 'Thing 1' },
     { name: 'Thing2' }
   ]
 }

Then the viewer will display the above like this:

things
  0
     name: 'Thing1'
  1
    name: 'Thing2'

Note the 0 and 1 "parents" for each property in the things array. It would be better (IMHO!) to have it display it without the numerical indices, more like this:

things
  name: 'Thing1'
  name: 'Thing 2'

Or this could be configurable perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant