json2pas-3.2.21
Json to pascal to translator for free pascal compiler (fpc)
Usage
json2pas-3.2.2 [options]
Overview
Where options is one or more of: -h --help Show this help -i --input=file Use file as JSON input. The file must contain a valid JSON object. -i --json=json Use json as JSON input. The value must contain a valid JSON object. -u --unit=name Use name as the name of the unit.
-
If no output file is specified, this sets the name
-o --output=file Set the output filename. Sets the unit name if none is given -d --generate-delphi Use Delphi 10 JSON routines -l --generate-load Create LoadFromJSON routine -s --generate-save Create SaveToJSON routine -c --load-ignores-case The LoadFromJSON routine will ignore case -e --use-setter Property setters use a routine instead of writing to field -n --classname=name Set the name of the top-level class (default: TMyObject) -r --load-with-error Load will raise an exception if an unknown property is met