by Rob Richardson
Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He's a frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on https://robrich.org/presentations and follow him on twitter at @rob_rich.
Super-set of JavaScript*
* with completely different syntax
How did we get here?
| data types | |
| schema validation | |
| terse | |
| nested data |
| * | data types |
| schema validation: XSD |
|
| terse | |
| nested data |
| data types | |
| * | schema validation: JSON Schema: bolt-on |
| terse | |
| nested data |
| * | data types |
| * | schema validation: YAML Schema: bolt-on |
| terse | |
| nested data |
| Format | Data Types | Schema Validation | Terse | Nested Data |
|---|---|---|---|---|
| CSV | ||||
| XML | * | |||
| JSON | * | |||
| YAML | * | * |
Yes, it's white-space significant.
So is Python, and we love that.
YAML to JSON and back again
It's the worst ...
... except everything else.