Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

YAML and JSON

Chris Mungall edited this page Mar 13, 2016 · 1 revision

Although JSON is the canonical serialization form for Phenopackets, files can also be in YAML. A standard JSON <-> YAML conversion is used, with the caveat that dates require special handing.

To convert between the two forms, you can use the scripts in this repository, or the reference java implementation.

Handling of dates

TODO

Which to use?

Although software is equally happy with either form, for human readability and writability, YAML is generally preferred. All of the examples in this repository are in YAML.

Clone this wiki locally