Other file formats

Julia can work with other human-readable file formats through specialized packages:

  • For JSON, use the JSON package. The parse method converts JSON strings into dictionaries, and the json method turns any Julia object into a JSON string.
  • For XML, use the LightXML package.
  • For YAML, use the YAML package.
  • For HDF5 (a common format for scientific data), use the HDF5 package.
  • For working with Windows INI files, use the IniFile package.

Get Julia 1.0 Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.