From: Brian I. <in...@tt...> - 2002-09-19 17:20:37
|
On 19/09/02 11:15 -0400, Steve Howell wrote: > Suggestions welcome: - Mention www.yaml.org - Show YAML inside YAML: | --- more: YAML no: escaping (like in XML) - You probably want to say something about typing. Implicit typing is pretty cool. At least show how integers are serialized in Python. ... Here is some output from phone2yaml, a program that ships with YAML.pm, and yamlizes the TSV export data from a palm pilot's address book. --- company: Baxter Cycle phones: work: 712-781-2351 address: street: 400 Lincoln St city: Marne state: IA postal: 51552 --- name: first: Tracy last: Bennett title: Veternarian company: Bird&Exotic Clinic of Seattle phones: work: 206-783-4538 home: 206-783-1679 address: street: 1546 NW Market st. city: Ballard state: Wa You can mock up the data if you want. Note that the data is pretty-printed to match the order of the palm pilot itself. |