Android Question Parse DBUTILS.ExecuteJSON string in VB.NET

Bob Spielen

Active Member
Licensed User
Need some help,
I serialzed SQL_vars to a string with DBUTILS.ExecuteJSON in B4A. How do I parse the string to read the values back in VB.NET using Newtonsoft.Json.Linq reference?
Thanks a lot in advance!!!!
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Ohanian

Active Member
Licensed User
Longtime User
Need some help,
I serialzed SQL_vars to a string with DBUTILS.ExecuteJSON in B4A. How do I parse the string to read the values back in VB.NET using Newtonsoft.Json.Linq reference?
Thanks a lot in advance!!!!

Hi,

Create a .net class from your json :

B4X:
https://jsonutils.com/

and then deserialize your json :

B4X:
   Dim oResponseClass As New ResponseClass
            oResponseClass= JsonConvert.DeserializeObject(Of oResponseClass)(sResult)
 
Upvote 0
Top