YAML is great, but don’t use it.

  • human-readability,
  • ease of writing by hand, i.e. multiline strings,
  • maintainability — this is both previous points combined.
{}:
[
y,
Y,
yes,
Yes,
YES,
n,
N,
no,
No,
NO,
on,
On,
ON,
off,
Off
]
%YAML 1.2
---
[
y,
Y,
yes,
Yes,
YES,
n,
N,
no,
No,
NO,
on,
On,
ON,
off,
Off
]
2: "bar"
"2": "foo"
{ "2": "bar" }
{ "2": "foo" }
-a: true
- a: true
{ "a": true }
[{ "a": true }]
%YAML 1.2
---
a: .5
b: TRUE
  • Failsafe Schema
~:
foo:

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

From React to React Native: A Beginner’s Guide (Part 1)

How to build a microservice with NodeJs, Express and MongoDB

How To Create a Reusable Button Component in Angular

could change someone’s life by noticing their suffering when others don’t. Someone

Angular: Create Template-driven Search Form for Application

Delay unmounting of the component in React

React: Day 20

React: Day 20

Get rid of CORS origin or resource sharing error [Spring Boot-Angular]:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jakub

Jakub

More from Medium

IoT Edge Dev Quick Book

Journey of Virtualization from Mainframe to Cloud

The pain of Avro schemas

WPF: Using Commands for button actions.