JSON2PAS-3.2.2(1)

πŸ“¦
version 3.2.2 Β· 4 versions
, in debian trixie, ubuntu questing

πŸ’– JSON2PAS-3.2.2 β€” like, the manual, but make it make sense πŸ’–

okay so bestie, welcome to json2pas-3.2.2, which lives in the Free Pascal Compiler (FPC) family. she's a JSON-to-Pascal translator and honestly? she ate. let's get you fluent 🫢


✨ NAME ✨

json2pas-3.2.2 β€” a JSON to Pascal to translator for the Free Pascal Compiler (FPC). no cap, that's the whole job description πŸ’…


🌸 SYNOPSIS 🌸

json2pas-3.2.2 [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so where options is one or more of the following, bestie. pick your faves, stack 'em, go off:

  • -h, --help β€” shows you this help. the classic "hello, what do you do" button πŸ’–
  • -i, --input=file β€” uses file as the JSON input. heads up: that file has to contain a valid JSON object, fr fr. no lil arrays, no vibes-only. a whole object. periodt.
  • -i, --json=json β€” uses json as the JSON input. and yeah, same rule: the value must contain a valid JSON object. that's just the law ✨
  • -u, --unit=name β€” uses name as the name of the unit.
    • if no output file is specified, this sets the name. so like, she's doing double duty, main character energy πŸ‘‘
  • -o, --output=file β€” sets the output filename. and she also sets the unit name if none is given. multitasking icon 🌈
  • -d, --generate-delphi β€” use Delphi 10 JSON routines. a little throwback moment πŸŽ€
  • -l, --generate-load β€” creates the LoadFromJSON routine. loading era πŸ’œ
  • -s, --generate-save β€” creates the SaveToJSON routine. saving era πŸ“
  • -c, --load-ignores-case β€” the LoadFromJSON routine will ignore case. she's chill like that, she's not gonna fight you over capitalization πŸ™ˆ
  • -e, --use-setter β€” property setters use a routine instead of writing to field. fancy route, we love a setter 🧚
  • -n, --classname=name β€” set the name of the top-level class. default is TMyObject if you don't say anything πŸ’…
  • -r, --load-with-error β€” Load will raise an exception if an unknown property is met. so like, she WILL clock it. no silent ignoring, she's strict and honestly? valid πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the full documentation for json2pas-3.2.2 is maintained as a Texinfo manual. if the info and json2pas-3.2.2 programs are properly installed at your site, the command

info json2pas-3.2.2

should give you access to the complete manual. like, the whole deep lore, the extended universe 🌟


anyway that's the whole page bestie. this was json2pas-3.2.2, February 2025 edition, brought to you by the Free Pascal Compiler and formatted as JSON2PAS-3.2.2(1) for all your manpage-reading needs. go translate some JSON, you absolute legend πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from