LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merging JSON files?

I have an application that extensively uses the wonderful JSONText library. The application uses a single large JSON file to hold quite a bit of config information. Some of it needs to be able to be modified by the end user (think COM ports, preferences, etc.) The rest of it needs to stay the same.

 

Now, ideally, one would've made a "Preferences.json" file and a "System Configuration.json" file, but my past self didn't see fit to do such a thing, and refactoring at this point would be a bit of a pain.

 

I'd like to be able to distribute a new version of my software and have some tool that the installer can use to pick which parts of the config file they want to keep from their old one and which ones they want to use in the new one. This would also add the benefit of being able to overwrite user values with defaults if need be.

 

I've found some JSON merge tools online that look useful, but I need something I can run locally. Preferably with a GUI that can expand/contract sub-items.

 

Fingers cross that I'm not the first person to ask about this... does anyone know of such a tool?

0 Kudos
Message 1 of 1
(100 Views)