Hi Charlie
Awesome! Thank you so much!
Sincerely,
Brad R. Doyle
On Sunday, September 10, 2017, 8:06:50 AM GMT-4, Charlie Ogier
wrote:
On 09/09/17 17:24, Brad Doyle via Gambas-user wrote:
> Anyone have any working example of JSON parsing. Following the example I
> found online, I ca
On 09/09/17 17:24, Brad Doyle via Gambas-user wrote:
Anyone have any working example of JSON parsing. Following the example I found
online, I can get the list of primary keys, but any attempt to access any of
the columns results in a NULL return. Once the decode is executed I get the key
value
Anyone have any working example of JSON parsing. Following the example I found
online, I can get the list of primary keys, but any attempt to access any of
the columns results in a NULL return. Once the decode is executed I get the key
values, but attempts to retrieve any other column results in
Le 16/01/2015 15:15, Alexie a écrit :
> JSON.Decode is standard in Gambas and works very good. It is in the
> "gb.web" component.
>
> If you read the data as "string", you can do as follows:
>
> Dim c As New Collection
> Dim s As String = "{ "id": 1}
>
> c = JSON.Decode(s)
>
> Or if you want ""/Nul
JSON.Decode is standard in Gambas and works very good. It is in the
"gb.web" component.
If you read the data as "string", you can do as follows:
Dim c As New Collection
Dim s As String = "{ "id": 1}
c = JSON.Decode(s)
Or if you want ""/Null in your JSON collection:
Dim c As New JSONCollection
Hi
I would be interested to know whether any Gambas users have already created a
parser for JSON format data, and would be willing to share the relevant code.
I foresee a need to import data from JSON files over the coming months. It
would save some time if I could avoid having to "reinvent the