aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/jsonmodel/example.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/itemviews/jsonmodel/example.json')
-rw-r--r--examples/widgets/itemviews/jsonmodel/example.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/widgets/itemviews/jsonmodel/example.json b/examples/widgets/itemviews/jsonmodel/example.json
new file mode 100644
index 000000000..3c3ecfbfd
--- /dev/null
+++ b/examples/widgets/itemviews/jsonmodel/example.json
@@ -0,0 +1,26 @@
+{
+ "id": "0001",
+ "type": "donut",
+ "name": "Cake",
+ "ppu": 0.55,
+ "batters":
+ {
+ "batter":
+ [
+ { "id": "1001", "type": "Regular" },
+ { "id": "1002", "type": "Chocolate" },
+ { "id": "1003", "type": "Blueberry" },
+ { "id": "1004", "type": "Devil's Food" }
+ ]
+ },
+ "topping":
+ [
+ { "id": "5001", "type": "None" },
+ { "id": "5002", "type": "Glazed" },
+ { "id": "5005", "type": "Sugar" },
+ { "id": "5007", "type": "Powdered Sugar" },
+ { "id": "5006", "type": "Chocolate with Sprinkles" },
+ { "id": "5003", "type": "Chocolate" },
+ { "id": "5004", "type": "Maple" }
+ ]
+}