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

Re: Json in Gambas


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


Follow-Ups:
Re: Json in GambasLaurent Carlier <lordheavym@xxxxxxxxx>
References:
Json in GambasRolf-Werner Eilert <rwe-sse@xxxxxxxxxx>
Re: Json in GambasChristof Thalhofer <chrisml@xxxxxxxxxxx>