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

Have you considered table editing use case? #63

Closed
anaran opened this issue Sep 15, 2013 · 4 comments
Closed

Have you considered table editing use case? #63

anaran opened this issue Sep 15, 2013 · 4 comments
Labels

Comments

@anaran
Copy link

anaran commented Sep 15, 2013

Hi!

Perhaps I just missed this feature trying to find it in your docs/examples.

Editing of spreadsheet-like JSON data could be a great use of jsoneditor!

Is this already possible today?

Would you consider it for the future?

Some (read-only display) ideas may be had at following resources.

(I also opened marianoguerra/json.human.js#15, then I found your issue entry there, so I came here because I like your integration with jsonlint very much)

See
https://developers.google.com/chrome-developer-tools/docs/tips-and-tricks#console-table

and the original
http://getfirebug.com/wiki/index.php/Console_API#console.table.28data.5B.2C_columns.5D.29
(see also http://www.softwareishard.com/blog/firebug/tabular-logs-in-firebug/)

@josdejong
Copy link
Owner

nice idea!

Can be very powerful when implemented right, but it is a bit tricky. A lot of edge cases, and making everything editable can be an interesting challenge. One question is how to specify whether some array can be displayed as a table or not. Few options that come to mind:

@josdejong
Copy link
Owner

Maybe we could implement this as another mode for the JSONEditor, which only supports A JSON document containing an array with flat objects, to keep things simple.

@josdejong josdejong changed the title Have you considered table editing use case? (console.table(object[, columns]); might provide more ideas) Have you considered table editing use case? Jul 28, 2014
@josdejong
Copy link
Owner

Rethinking this, I think it's a bit out of scope. I will close this issue now.

@josdejong
Copy link
Owner

This feature request is opened again and continued in #402.

@josdejong josdejong reopened this Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants