jsoneditor icon indicating copy to clipboard operation
jsoneditor copied to clipboard

Create an Electron or NW application with local load/save functionality

Open jaunt opened this issue 9 years ago • 6 comments

Hello,

This is very impressive and useful. I'm trying it out as a replacement for the seemingly abandoned Cocoa Json Editor. I'm using http://jsoneditoronline.org/ to edit a local JSON file which is quite large. Is there a way for the save function to automatically replace the local file I opened instead of downloading a copy to my browser download directory, or is this a browser limitation? If so, how hard would it be to embed exactly what you have on the website into a standalone app or one that has access to the filesystem?

Thanks for the help.

jaunt avatar Jun 02 '15 04:06 jaunt

Writing a file directly to disk from a web application is not possible (security restrictions), sorry. It would indeed be very convenient.

josdejong avatar Jun 04 '15 12:06 josdejong

It would be possible to create an application with nw.js or electron (or a packaged chrome app... there is already a chrome app) that wraps JSONEditor and opens, edits, and saves JSON files. There could also be jsoneditor package for Atom (not like this one).

1j01 avatar Dec 09 '15 18:12 1j01

+1 Would love this as an Electron app

ryanbaer avatar Aug 11 '16 00:08 ryanbaer

Thanks for your feedback!

josdejong avatar Aug 14 '16 11:08 josdejong

@josdejong is this being ventured into? I was unable to locate any around. If there is a repo already kindly guide me there

mmubasher avatar Sep 11 '21 14:09 mmubasher

no @mmubasher (though the web application is just available 😄)

josdejong avatar Sep 11 '21 15:09 josdejong