[Pas2js] Nested objects

Michael Van Canneyt michael at freepascal.org
Thu Dec 10 12:02:14 CET 2020



On Thu, 10 Dec 2020, heliosroots wrote:

> sorry i expressed myself badly! "I would not use fpjson which makes a parser
> and some cast".

All is clear now.

I agree. No worries, TJSObject is in the JS unit, so no use of FPJSON.

I'll go for a unit JSUtils with a helper and a global routine. 
The routines proposed by Ondrej also could be put there.

Michael.


More information about the Pas2js mailing list