Import and export problems
Any Grok problem can be exported and imported in JSON format.
Sometimes it might be quicker for you to export a problem, edit it offline, and re-import. Or you might want to construct a whole problem offline and import it.
We still recommend using the authoring interface most of the time, but if you're confident with working in the JSON file, you might find this method efficient.
Export a problem to file
- Find your problem
- Click the "Export" button
- This will download a JSON file containing all the elements of this problem
New problem from imported file
- Go to the Problems page and click "Import JSON"
- Select your file
- Click "Upload and Save"
- Your file will be imported as a new problem
Edit existing problem using imported file
- Find your problem and click the "Import" button
- Select your file. Note that the slug in the file must match the slug of the problem you are attempting to edit.
- Click "Upload and Save"
- The contents of your file will over-write this problem