JSON2PAS-3.2.2(1)
π 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 theLoadFromJSONroutine. loading era π-s,--generate-saveβ creates theSaveToJSONroutine. saving era π-c,--load-ignores-caseβ theLoadFromJSONroutine 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 isTMyObjectif 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
- debian trixie: fp-utils-3.2.2 3.2.2+dfsg-46 Β· GPL-2.0-or-later
- ubuntu questing: fp-utils-3.2.2 3.2.2+dfsg-46
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms