Step 1: Learn Python. [1] Step 2: import json and decode the json with json.loads(). Step 3: Iterate over the decoded data structure and output what you want today.
[1] If you need a step 0, start with Blockly Games and advance to step 1 when your battle duck rules the pond.
JSON is the new standard for data migration. It was XML, which is why you see that as options in many places. Modern programming languages can navigate either JSON or XML, but XML has some quirks that can make it messy when you are dealing with HTML data inside it... as with URLs and such. Hence this community has repeatedly suggested takeout in many formats and particularly in JSON should you plan to import with a programming language later.
New comments on this blog are moderated. If you do not have a Google identity, you are welcome to post anonymously. Your comments will appear here after they have been reviewed. Comments with vulgarity will be rejected.
I use it to generate html pages so that the content can be browsed easily.
ReplyDeleteWhidou How did you do it? what apps/software did you use?
ReplyDeleteIt depends on what you want to use it for.
ReplyDeleteI am in the process of using the individual collection exports to import into Blogger. I haven’t done a full JSON export yet.
ReplyDeleteFor viewing on a personal computer. Is the a tutorial?
ReplyDeleteI want to import into a WP blog but I am not happy with how the standard WP import XML comes in.
ReplyDeleteStep 1: Learn Python. [1]
ReplyDeleteStep 2: import json and decode the json with json.loads().
Step 3: Iterate over the decoded data structure and output what you want today.
[1] If you need a step 0, start with Blockly Games and advance to step 1 when your battle duck rules the pond.
❨❨❨David C. Frier❩❩❩ Fair question and one I wish we had a better answer to.
ReplyDeleteSimply: JSON is very easy to use programmatically, whether you write the programs, or someone else does. Michael K Johnson has written tools to create an archive of one of the Maker communities on G+, which I posted a few days ago here:
old.reddit.com - HercuLien and Eustathios Builders community static site archive on GitLab
As an example. There are others.
JSON is the new standard for data migration. It was XML, which is why you see that as options in many places. Modern programming languages can navigate either JSON or XML, but XML has some quirks that can make it messy when you are dealing with HTML data inside it... as with URLs and such. Hence this community has repeatedly suggested takeout in many formats and particularly in JSON should you plan to import with a programming language later.
ReplyDeleteA tool that can be helpful is 'jq'. It's a simple yet powerful filtering and transformation tool for JSON.
ReplyDelete