How can I parse the JSON string
{"data":{"results":[{"Branch":"ACCT590003"}]}}
using the TJSONObject
object? I want to get the ACCT590003
value from this string.
How can I parse the JSON string
{"data":{"results":[{"Branch":"ACCT590003"}]}}
using the TJSONObject
object? I want to get the ACCT590003
value from this string.
You don't need to use external libraries to perform a JSONPath search. Example with Delphi 10 Seattle:
using TALdocument it's easy
Using SuperObject Library https://github.com/hgourvest/superobject/
Try this code, it works fine
Branch = 'ACCT590003'