Skip to content
JSON Schema draft v4 reader and code generator for Delphi.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Merge branch 'master' of… Sep 26, 2017
.gitignore ignore \bin and *.~* Sep 21, 2017
.gitmodules git submodule dmustache Sep 21, 2017 Update and rename LICENSE to Sep 21, 2017 Update Sep 21, 2017


JSON Schema draft v4 reader and code generator for Delphi.


  • command line tool for generation of boilerplate code to read JSON documents
  • generated code can be adjusted via Mustache templates
  • JSON Schema draft v4 is only partially supported


djsonsgen.exe <json_schema> <template_dir> [options]

<json_schema>                    - JSON Schema file
<template_dir>                   - Template source directory
[-o<path>], [/output_dir:<path>] - Output directory (default = use json_schema
                                   filename as directory)

Example: djsonsgen.exe draft-04-schema.json .\templates


These are the steps if you want to compile the project for your own purposes or if you like to contribute to this project.

Get the code

git clone --recursive

The recursive parameter is required to clone/update also the submodule src/dmustache (SynMustache). Alternatively you could run the following commands:

git clone
cd DJsonSchema
git submodule update --init --recursive

SynMustache is used as Mustache template engine.


DJsonSchema is originally written with Delphi 10.1 (no idea what the minimum required version is). 😊

You can’t perform that action at this time.