YAML Ain't Markup Language
Below is an example of an invoice expressed via YAML(tm). Structure is shown through indentation (one or more spaces). Sequence items are denoted by a dash, and key value pairs within a map are separated by a colon.
--- !clarkevans.com/^invoiceinvoice: 34843date : 2001-01-23bill-to: &id001 given : Chris family : Dumars address: lines: | 458 Walkman Dr. Suite #292 city : Royal Oak state : MI postal : 48046ship-to: *id001product: - sku : BL394D quantity : 4 description : Basketball price : 450.00 - sku : BL4438H quantity : 1 description : Super Hoop price : 2392.00tax : 251.42total: 4443.52comments: > Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home