JSON의 최우선 설계 목표는 간편성과 보편성이다. 따라서 JSON은 가독성을 조금 떨어트리는 대신에 생성 및 파싱이 용이하다.반면에 YAML의 최우선 설계 목표는 가독성과 데이터 구조 Serialization이다. 따라서 YAML은 사람이 읽기 쉬운 반면에 생성 및 파싱이 JSON 보다 복잡하다.
'야믈'이라고 발음
use space not tab!
YAML을 JSON의 Superset으로 볼 수도 있다.모든 JSON 파일은 유효한 YAML 파일이다.따라서 JSON에서 YAML로 마이그레이션 하기가 용이하다.
XML is better than YAML. Hear me out...
My spicy take is that XML is better than YAML, because there are situations where XML is appropriate, but there’s no situation where YAML is appropriate. Let me explain…
https://changelog.com/posts/xml-better-than-yaml

YAML
YAML YAML Ain't Markup LanguageYAML is a human friendly data serialization standard for all programming languages. YAML은 마크업 언어가 아니고, 사람에게 친숙한 데이터 Serializaition 표준이다.아마 XML, HTML과 같이 YAML도 ML이 들어
https://perfectacle.github.io/2018/08/19/yaml/
tool to json
Transform YAML into JSON - Online YAML Tools
World's simplest yaml tool Quickly convert Yet Another Markup Language to JavaScript Object Notation. Enter YAML in the input box on the left and you'll immediately get JSON in the output box on the right. Enter YAML, get JSON. There are no ads or downloads, and everything works right in your browser.
https://onlineyamltools.com/convert-yaml-to-json

list
YAML Multi-Line Arrays
In YAML, you can easily create multi-line strings. However, I would like the ability to create a multi-line array (mainly for readibility within config files) using the | character. A YAML array can be represented as: ['key1', 'key2', 'key3'].
https://stackoverflow.com/questions/23657086/yaml-multi-line-arrays/33136212


Seong-lae Cho