summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/files/bad.toml1
-rw-r--r--assets/files/informations.toml11
-rw-r--r--assets/files/toml_types.toml11
3 files changed, 23 insertions, 0 deletions
diff --git a/assets/files/bad.toml b/assets/files/bad.toml
new file mode 100644
index 00000000..2d5da4d3
--- /dev/null
+++ b/assets/files/bad.toml
@@ -0,0 +1 @@
+"only a string" \ No newline at end of file
diff --git a/assets/files/informations.toml b/assets/files/informations.toml
new file mode 100644
index 00000000..f6e3b5fb
--- /dev/null
+++ b/assets/files/informations.toml
@@ -0,0 +1,11 @@
+authors = ["Mr Robert", "Miss Enola", "Mr Jonathan"]
+version = "1.0.3"
+
+series = [
+ { name = "attack on titan", fans = 500},
+ { name = "demon slayer", fans = 10}
+]
+
+[informations]
+location = "room A204"
+pages = 47 \ No newline at end of file
diff --git a/assets/files/toml_types.toml b/assets/files/toml_types.toml
new file mode 100644
index 00000000..08f1118d
--- /dev/null
+++ b/assets/files/toml_types.toml
@@ -0,0 +1,11 @@
+string = "wonderful"
+integer = 42
+float = 3.14
+boolean = true
+date_time = 2023-02-01T15:38:57Z
+array = [1, "string", 3.0, false]
+inline_table = { first = "amazing", second = "greater" }
+
+[table]
+element = 5
+others = [false, "indeed", 7] \ No newline at end of file