Example file

Ensure your JSON file is valid, otherwise the import or import configuration will fail. If you are unsure if it is a valid file, run it through a validator.

This is just an example. You can name your properties anything you want. Just make sure each entry you want to import is a different object in an array. For best results, avoid deeply nested objects. Try to stick to 2-3 levels deep if you can.

{
   "root": {
      "entry": [
         {
            "id": "A",
            "title": "Dummy 1",
            "date": "1973-12-11 13:00:00",
            "summary": "Adds a related field"
         },
         {
            "id": "B",
            "title": "Dummy 2",
            "date": "1973-11-04 23:59:00",
            "summary": "Adds another related field"
         }
      ]
   }
}

For this example, the configuration path will be

/root/entry

Last updated