[Pas2js] pas2js 2.0.0 Release Candidate 5
Michael Van Canneyt
michael at freepascal.org
Mon Dec 7 10:58:51 CET 2020
As far as I am concerned, the support for anonymous records is first after
release 2.0.
Michael.
On Mon, 7 Dec 2020, warleyalex via Pas2js wrote:
> the anonymous record feature is very important as well.
>
> in the cenario, we need to map complex databases objects, populate complex
> JSON object.
> this json would be mapped to this record type structure.
> We should use the record type to store/retrieve the JSON data, to perform
> CRUD operations for instance.
>
> {
> "RowID" : 1,
> "FirstName" : "First1",
> "LastName" : "Last1",
> "Data" : null,
> "YearOfBirth" : 1801,
> "YearOfDeath" : 1826,
> "Another" : 1,
> "Sexe" : 0,
> "Simple" : {
> "F" : "",
> "G" : [],
> "H" : {
> "H1" : 0,
> "H2" : "",
> "H3" : {
> "H3a" : false,
> "H3b" : null
> }
> },
> "I" : "",
> "J" : []
> }
> }
>
>
>
>
>
>
> --
> Sent from: http://pas2js.38893.n8.nabble.com/
> _______________________________________________
> Pas2js maillist - Pas2js at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
More information about the Pas2js
mailing list