summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDimitri Mitropoulos <dimitrimitropoulos@gmail.com>2020-06-18 01:35:24 -0400
committerGitHub <noreply@github.com>2020-06-17 22:35:24 -0700
commit24ad35709d9a2984a56c572538511b10ce0f3642 (patch)
tree4c2154d0ab84f5474ce6c87559568c9d318ee615 /docs
parentcc44a4442716601600aa50fb8a42abd55294212c (diff)
downloadflatbuffers-24ad35709d9a2984a56c572538511b10ce0f3642.tar.gz
flatbuffers-24ad35709d9a2984a56c572538511b10ce0f3642.tar.bz2
flatbuffers-24ad35709d9a2984a56c572538511b10ce0f3642.zip
[docs] typo: updates monsterdata.json to be valid json (#5978)
* updates monsterdata.json to be valid json the same monster.json file was not valid json * updates reference to monsterdata.json in docs to also be valid json
Diffstat (limited to 'docs')
-rw-r--r--docs/source/Tutorial.md30
1 files changed, 15 insertions, 15 deletions
diff --git a/docs/source/Tutorial.md b/docs/source/Tutorial.md
index fc248de2..43ce54ff 100644
--- a/docs/source/Tutorial.md
+++ b/docs/source/Tutorial.md
@@ -3287,27 +3287,27 @@ Here are the contents of the file:
~~~{.json}
{
- pos: {
- x: 1.0,
- y: 2.0,
- z: 3.0
+ "pos": {
+ "x": 1.0,
+ "y": 2.0,
+ "z": 3.0
},
- hp: 300,
- name: "Orc",
- weapons: [
+ "hp": 300,
+ "name": "Orc",
+ "weapons": [
{
- name: "axe",
- damage: 100
+ "name": "axe",
+ "damage": 100
},
{
- name: "bow",
- damage: 90
+ "name": "bow",
+ "damage": 90
}
],
- equipped_type: "Weapon",
- equipped: {
- name: "bow",
- damage: 90
+ "equipped_type": "Weapon",
+ "equipped": {
+ "name": "bow",
+ "damage": 90
}
}
~~~