Discussions tagged JSONParser

hi guru, PowerBuilder Runtime version : PB2022 R2 build 2828 I'm trying to use jsonpackage to extract value for "distance" and "duration"...but seem the result was not correct.  Please help to advise what wrong with the parser...many thanks.  The ...
Hello, We are developing in PowerBuilder 12.5 and I'm looking to find the best way to create a Json file format. Currently we are writing the data using a function out to a text file, Is there any way in PB 12.5 to create a json file with the format...
Hi, is there any way to handle JSON with more than 20 MB?  We want to create a Webservice in SnapDevelop, that sends or retrieves E-Mails. Our application sends the data to the Webservice and the Webservice sends the E-Mail or the retrieves them. T...
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