On Thu, 28 May 2020, Sven Schreiber wrote:
Am 12.05.2020 um 16:24 schrieb Allin Cottrell:
Some devel news: you can now write gretl bundles as JSON using
bwrite() and read them back from JSON using bread(). In each case
gretl goes into JSON mode if the filename has extension ".json" or
".geojson".
Hi,
I was wondering about the type information in the written json file. See
the attached example. For the strings array "SS" and the nested bundle
"bsub" as well as the matrices array "MM" this info is not explicitly
given it seems. Is this intended?
In a word, yes. Native JSON types don't have to be flagged as such.
We only have to flag "complex" gretl types that are made up of
ordinary JSON objects, arrays, or values arranged in a particular
way.
Allin
_______________________________________________
Gretl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Website:
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/