-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #119
- Loading branch information
Showing
5 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
github.com/BurntSushi/toml v1.2.2-0.20230112133702-08a2344b20c3 h1:LDBapqEzAGbmjAvTfOZMLFuqiAvDx300rniVAB5MAFk= | ||
github.com/BurntSushi/toml v1.2.2-0.20230112133702-08a2344b20c3/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= | ||
github.com/BurntSushi/toml v1.2.2-0.20230116181612-fcbab7400715 h1:wpQ/gpMTRuiaIOlcOImLxe7XF7FQ/Q5vmrQDEAHpGmI= | ||
github.com/BurntSushi/toml v1.2.2-0.20230116181612-fcbab7400715/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= | ||
zgo.at/zli v0.0.0-20220603144954-fdab8cc4d9d8 h1:Cvmn2mATNsxwIVjKv91UHWdInUqjA/oWMH9kAUuzojQ= | ||
zgo.at/zli v0.0.0-20220603144954-fdab8cc4d9d8/go.mod h1:HLAc12TjNGT+VRXr76JnsNE3pbooQtwKWhX+RlDjQ2Y= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"tbl-1": { | ||
"1": { | ||
"type": "integer", | ||
"value": "2" | ||
}, | ||
"arr": [ | ||
{ | ||
"type": "integer", | ||
"value": "1" | ||
}, | ||
{ | ||
"type": "integer", | ||
"value": "2" | ||
}, | ||
{ | ||
"type": "integer", | ||
"value": "3" | ||
} | ||
], | ||
"hello": { | ||
"type": "string", | ||
"value": "world" | ||
}, | ||
"tbl": { | ||
"k": { | ||
"type": "integer", | ||
"value": "1" | ||
} | ||
} | ||
}, | ||
"tbl-2": { | ||
"k": { | ||
"type": "string", | ||
"value": "\tHello\n\t" | ||
} | ||
}, | ||
"trailing-comma-1": { | ||
"c": { | ||
"type": "integer", | ||
"value": "1" | ||
} | ||
}, | ||
"trailing-comma-2": { | ||
"c": { | ||
"type": "integer", | ||
"value": "1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# TOML 1.1 supports newlines in inline tables and trailing commas. | ||
|
||
trailing-comma-1 = { | ||
c = 1, | ||
} | ||
trailing-comma-2 = { c = 1, } | ||
|
||
tbl-1 = { | ||
hello = "world", | ||
1 = 2, | ||
arr = [1, | ||
2, | ||
3, | ||
], | ||
tbl = { | ||
k = 1, | ||
} | ||
} | ||
|
||
tbl-2 = { | ||
k = """ | ||
Hello | ||
""" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters