Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Classic XML and JSON packages

The two formats an Exponential package can be stored in - classic package.xml and JSON package.json - what differs (checksums, file names, schema), when JSON helps a designer, and how to convert between them.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/extensions/classic-and-json-package-formats.md

On this page

Classic XML and JSON packages

This page is for designers who are asked "Classic XML or JSON?" in the package wizard. Both formats hold the same package, element for element, and install the same way. The classic format stays the default.

The differences

ClassicJSON
Definitionpackage.xmlpackage.json
Documentsezcontentclass/class-article.xml ...the same names with .json
Other files (images, templates, extension files)as they areas they are, byte for byte
ChecksumsMD5 of design files onlySHA-256 of every file
Archive name<name>-<version>-<release>.ezpkg<name>-<version>-<release>.json.ezpkg
Schemathe kernel's readershare/package/schema/package-v1.json

The format is detected from the content (which definition file is at the top), never from the file name.

When JSON helps a designer

  • You review packages in pull requests: JSON diffs read better for many people and tools.
  • You want every file covered by a checksum, so a changed or missing file is found before anything is installed.
  • Your own scripts read or write packages.

Stay with classic when the people installing your package use older tools that only know package.xml.

Step by step: choose or convert

  1. In the wizard's Package information step, choose Classic XML or JSON.

  2. To download the other format later, use Download as JSON (or Download) on the package's page.

  3. On the command line, convert an archive:

    php ezpm.php convert mytheme_classes-1.0-1.ezpkg var/tmp/mytheme_classes-1.0-1.json.ezpkg

    php ezpm.php help convert explains the target (an archive or a new directory) and --to.

  4. Validate the result: php ezpm.php validate var/tmp/mytheme_classes-1.0-1.json.ezpkg.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x