[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Json in Gambas


Le lundi 15 avril 2024, 13:37:21 UTC+2 Rolf-Werner Eilert a écrit :
> Am 15.04.24 um 10:31 schrieb Christof Thalhofer:
> > Am 15.04.24 um 09:56 schrieb Rolf-Werner Eilert:
> >> A question to everyone who has worked with Json objects in Gambas...
> >> 
> >> Is there a Gambas component or library in some form? Or have you done
> >> coding and decoding Json data all for yourselves?
> >> 
> >> Thanks for any insight!
> > 
> > This component:
> > 
> > https://gambaswiki.org/wiki/comp/gb.util.web
> > 
> > offers JSON en- and decoding of arrays and collections.
> > 
> > -----------------------------------
> > Dim c as Collection
> > Dim sJson as String
> > 
> > sJson = JSON.Encode(c)
> > Print sJson
> > 
> > c = JSON.Decode(sJson)
> > -----------------------------------
> > 
> > 
> > Alles Gute
> > 
> > Christof Thalhofer
> 
> Oh yes, thank you!
> 
> By the way, is it possible to find such information ("this function sits
> in component X") in any other way than by the mailing list?
> 
> Grüße
> Rolf

You have the online documentation here: https://gambaswiki.org/wiki
There is a search function :-)

Regards,

Attachment: signature.asc
Description: This is a digitally signed message part.


References:
Json in GambasRolf-Werner Eilert <rwe-sse@xxxxxxxxxx>
Re: Json in GambasChristof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Json in GambasRolf-Werner Eilert <rwe-sse@xxxxxxxxxx>