While Datomic is well known as a database that manages entities with flexible structures, the attributes of those structures must be declared in a predefined schema before Datomic can load any data. This can be awkward when working with common arbitrary data structures, like JSON, since the schema may not be known ahead of time. This talk looks at how to import and export arbitrary JSON into Datomic, using straightforward, auto-generated schemas that do not lose any information, even when the JSON does not seem to be a simple fit. We also show how Datomic features can be used to collate multiple interspersed read and write operations into a single Datomic transaction.
Paula Gearon
Cisco Systems
A computer engineer, quantum physicist, and Semantic Web geek, Paula is most at home working in the lower layers of systems, building the infrastructure that lets other developers do their jobs. She has been the technical lead on several commercial and open source projects, with a focus on data storage and processing. When not coding, she is busy doing Taekwondo with her daughter, cooking, socializing at Women Who Code events, and mentoring younger members.