Discussions tagged JSONParser

Hi guys, I'm having a hard time parsing the json string below. Can you please help? This is a simplified version: {    "meta": {        "limit": 20,    },    "objects": [        {            "cat_pai": null,            "desc": "Cat Test Desc 1",   ...
I am studding the JSON support in PowerBuilder 2019 (R2) and I am a bit confused on how can I obtain the JSON string of a key in an array. Let's suppose that you have the following JSON: { "Sales":[ { "DiscountType":{ "Id":1, "Label":"667 trig", "C...
PB 2017 R3 I'm consuming a third party REST service using httpclient and when parsing the returned JSON-string I do it with JsonParser. The number values in the returned JSON string are always supplied with a dot (".") for decimal point. It seems l...
Hello, Using PB 2017 R3,    Trying to import a JSON file created by a third party, into a datawindow.   The siva2.rar (attached) opens well in Notepad++, with proper plugins.   Notepad ++ displays the data perfectly. Now, when I try to import with...
Hi everyone, i try to parse a JSON-String with the new functionalitys of PB2019 and get this error message: "Failed to load the JSON data because its root node is not an object" sample code:   string ls_json, ls_returnJSONPackage luo_jsonluo_json...
Upon which JSON parser is PowerBuilder 2019 based? I can then reference which syntax variations are tolerated.   Thank you....
(PB 2017 R3 build 1858 / Windows 10 ) From an httpclient object I receive JSON strings  that I need to parse.  They may be quite complicated with deeply nested structures. My first problem is to parse NULL values. My preliminary code looks like th...
We are using 2017 R3. For some time now we have been consuming .NET Soap web services from one of our business partners. They now require us to migrate to a new web service technology, called RPC/JSON. This is outside negotiation. I should like to ...
  • Page :
  • 1