config file language All In One

config file language All In One

YAML

YAML Ain't Markup Language

.yaml / .yml

https://yaml.org/

https://github.com/yaml

%YAML 1.2
---
YAML: YAML Ain't Markup Language

What It Is: YAML is a human friendly data serialization
  standard for all programming languages.

YAML Resources:
  YAML 1.2 (3rd Edition): http://yaml.org/spec/1.2/spec.html
  YAML 1.1 (2nd Edition): http://yaml.org/spec/1.1/
  YAML 1.0 (1st Edition): http://yaml.org/spec/1.0/
  YAML Issues Page:       https://github.com/yaml/yaml/issues
  YAML Mailing List:      [email protected]
  YAML IRC Channel:       "#yaml on irc.freenode.net"
  YAML Reference Parser:  http://ben-kiki.org/ypaste/
  YAML Spec:              https://github.com/yaml/yaml-spec
  YAML Test Suite:        https://github.com/yaml/yaml-test-suite
  YAML Test Matrix:       https://matrix.yaml.io/
  YAML Docker Runtimes:   https://github.com/yaml/yaml-runtimes
  YAML Cookbook (Ruby):   YAML_for_ruby.html 

TOML

Tom's Obvious Minimal Language

https://toml.io/en/

https://github.com/toml-lang/toml

Star 14.5k ⭐️

# This is a TOML document

title = "TOML Example"

[owner]
name = "Tom Preston-Werner"
dob = 1979-05-27T07:32:00-08:00

[database]
enabled = true
ports = [ 8001, 8001, 8002 ]
data = [ ["delta", "phi"], [3.14] ]
temp_targets = { cpu = 79.5, case = 72.0 }

[servers]

[servers.alpha]
ip = "10.0.0.1"
role = "frontend"

[servers.beta]
ip = "10.0.0.2"
role = "backend"

INI

.ini

https://en.wikipedia.org/wiki/INI_file

https://pypi.org/project/iniconfig/


JSON5

https://json5.org/

https://github.com/json5/json5


refs

http://www.yamllint.com/

http://www.ruanyifeng.com/blog/2016/07/yaml.html

refs




©xgqfrms 2012-2020

www.cnblogs.com 發佈文章使用:只允許註冊用戶纔可以訪問!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章