How do I use the JSON file that gets downloaded when I download my solution?

How do I use the JSON file that gets downloaded when I download my solution?
0

Am I supposed to format it to match HTML syntax?

You could use the tool that @vipatron made:

1 Like

Thanks! A question though, why does it get saved like that? I thought I was just too stupid too use it at first lol

That’s how the data for your solution is formatted in freeCodeCamp. JSON is a standard format. With given format, you could use that format to do all sorts of interesting things. You could write a tool that uses the rest of the data in that JSON to do all sorts of interesting things.

1 Like

Will I learn what JSON is and how to use it along the way in the curriculum?

Yup.

1 Like

FYI - A newly merge pull request has changed the way the Download my solution feature works. It now downloads as a text file with just the code used in the editor without the JSON formatting.

1 Like