YAML 的語法實在好雷 ....
https://yaml.org/spec/1.2.2/#chapter-1-introduction-to-yaml
Conversation
Notices
-
Embed this notice
日落 (zeroplex@social.zeroplex.tw)'s status on Monday, 20-Mar-2023 13:20:18 JST 日落 -
Embed this notice
niconiconi (niconiconi@mk.absturztau.be)'s status on Monday, 20-Mar-2023 13:20:08 JST niconiconi @ghost@fairground.moe :blobcatheart:
In conversation permalink :blobcathug: likes this. -
Embed this notice
banned for ghosting (ghost@fairground.moe)'s status on Monday, 20-Mar-2023 13:20:16 JST banned for ghosting @niconiconi 上次这么激动的时候,是发现可以用筷子吃薯片(
In conversation permalink -
Embed this notice
Mr.Twister (dollars0427@g0v.social)'s status on Monday, 20-Mar-2023 13:20:17 JST Mr.Twister @zeroplex 確實,JSON最大缺點就是很難寫註解,雖然後來有人推出了強化版的JSON但是好像要專用的編譯器,吐血
In conversation permalink -
Embed this notice
XYenon (xyenon@pleroma.xyenon.bid)'s status on Monday, 20-Mar-2023 13:20:17 JST XYenon @dollars0427 @zeroplex 有种写法是
{ "//": "comment" }In conversation permalink -
Embed this notice
niconiconi (niconiconi@mk.absturztau.be)'s status on Monday, 20-Mar-2023 13:20:17 JST niconiconi @XYenon@pleroma.xyenon.bid @dollars0427@g0v.social @zeroplex@social.zeroplex.tw !!!!!!!!!!!!!!!!!
In conversation permalink -
Embed this notice
Mr.Twister (dollars0427@g0v.social)'s status on Monday, 20-Mar-2023 13:20:18 JST Mr.Twister @zeroplex :te_034: 但現在好多的程序都用的Yaml寫設定檔,我始終還是ini和json派的
In conversation permalink -
Embed this notice
日落 (zeroplex@social.zeroplex.tw)'s status on Monday, 20-Mar-2023 13:20:18 JST 日落 @dollars0427 key/value 我偏好 ini
JSON 資料格式很清楚,要寫註解很麻煩In conversation permalink
-
Embed this notice