Difference between revisions of "Addon:JSON Export Import"

From Gramps
(based on sqlite addon page)
 
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Third-party plugin}}
+
{{Third-party addon}}
{{man tip|This pair of addons are used together}}
+
[[File:JSON-Export-addon-52.png|thumb|right|450px]]
 +
 
 +
This pair of addons allow you to import and export to and from the [https://en.wikipedia.org/wiki/JSON JSON (JavaScript Object Notation)] format.  They can export most of the Gramps genealogical data.
  
 
==Installation==
 
==Installation==
Install both the {{man label|JSON Export}} and {{man label|JSON Import}} addons.
+
Install both the {{man label|[[Addon:JSON_Export_Import#Export_JSON|JSON Export]]}} and {{man label|[[Addon:JSON_Export_Import#Import_JSON|JSON Import]]}} addons.
  
 
==Usage==
 
==Usage==
  
 
===Export JSON===
 
===Export JSON===
 +
 +
You can export most of the Gramps genealogical data through an JSON Export using the Export Assistant. This does not export other Gramps data, such as bookmarks, researcher information, etc.
 +
 +
* From the menu select: {{man menu|Family Trees > Export...}}
 +
* From the '''Saving your data''' wizard dialog select {{man button|Next}}
 +
* From the '''Choose the output format''' wizard dialog select the {{man button|JSON Export}} option and then select {{man button|Next}} twice
 +
* From the '''Select save file''' wizard dialog either name the file and default location or change it and then select {{man button|Next}}
 +
* From the '''Final confirmation''' wizard dialog select {{man button|Apply}} and then {{man button|Close}}
  
 
===Import JSON===
 
===Import JSON===
  
=== See also ===
+
You can also import the previously exported Gramps genealogical data via JSON import.
 +
 
 +
* '''It is recommended that you create an new Family Tree before import.'''
 +
* From the menu select: {{man menu|Family Trees > Import...}}
 +
* From the '''Import Family Tree''' file dialog selector, select your previously created JSON file (eg: <code>Untitled_1.json</code>) and then select the {{man button|Import}} button
 +
 
 +
== See also ==
 +
* JSON Export
 +
** [https://sourceforge.net/p/gramps/mailman/message/31622003/ [Gramps-devel] struct/JSON in master From: Doug B. <dou...@gm...> - 2013-11-10 22:02:33]
 +
** [https://sourceforge.net/p/gramps/mailman/message/34368661/ [Gramps-users] help me understand the inner workings of gramps -- what happens when I remove... From: TJMcK <tim...@gm...> - 2015-08-12 16:35:10]
 +
* [https://github.com/blastentwice/CK3-Family-Tree-Exporter-To-Gramps "CK3-Family-Tree-Exporter-To-Gramps-Fast-JSON-Version"]
 +
* [[Addon:D3 Ancestral and Descendant Charts]] - All of these reports generate JSON for ancestry/descendant's and could be easily customized for other usage.
 +
* [[Addon:Type Export]] uses a simple json file.
 +
* [[Addon:Type Import]] uses a simple json file created by "Addon:Type Export"
 
* [[Addon:SQLite Export Import]]
 
* [[Addon:SQLite Export Import]]
  

Latest revision as of 00:40, 28 December 2024

Gramps-notes.png
This is a Third-party Addon. The Addon/Plugin system is controlled by the Plugin Manager.

Please use carefully on data that is backed up, and help make it better by reporting any issues to the bug tracker.
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.

JSON-Export-addon-52.png

This pair of addons allow you to import and export to and from the JSON (JavaScript Object Notation) format. They can export most of the Gramps genealogical data.

Installation

Install both the JSON Export and JSON Import addons.

Usage

Export JSON

You can export most of the Gramps genealogical data through an JSON Export using the Export Assistant. This does not export other Gramps data, such as bookmarks, researcher information, etc.

  • From the menu select: Family Trees > Export...
  • From the Saving your data wizard dialog select Next
  • From the Choose the output format wizard dialog select the JSON Export option and then select Next twice
  • From the Select save file wizard dialog either name the file and default location or change it and then select Next
  • From the Final confirmation wizard dialog select Apply and then Close

Import JSON

You can also import the previously exported Gramps genealogical data via JSON import.

  • It is recommended that you create an new Family Tree before import.
  • From the menu select: Family Trees > Import...
  • From the Import Family Tree file dialog selector, select your previously created JSON file (eg: Untitled_1.json) and then select the Import button

See also