Discussions tagged JSON

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...
I hope someone can help I need to store the return from my GET statement into a database table This is the format of the return, what method would you recommend. I am currently using 2019 but can easily move to 2021 if the new features help. regar...
Hello, Need to PostData to a URL and read the result.   My code to PostData is and Read the response is String ls_email, ls_einvoice_json ls_email = test@test.com ls_einvoice_json = /*JSONVALUE*/ This JSON is verified to work ls_url =...
Hi, I'm beeing writing a small WEB-API which has to process POSTed metadata and files as json-data and insert it into a SQL Server database. I know, the client could send the data and files together in one POST using the content-type form-data.  B...
SQL Server setting is "ansi_padding"=ON and using JSONIMPORT to import data into datawindow but wherever data type of column in SQL server is CHAR, trailing spaces are coming. If we don't use JSONImport functionality to import data into Datawindow s...
Hello, Using PB 2019R3 Build 2703 - Using Theme Flat Design Blue Need to set a (different) background color for dropdowndatawindow from datawindow.  Having the same background color for both datawindow and dropdown datawindow is bit confusing. Fla...
  Good afternoon, I have a DataWindows that I want to take to Json, but the problem is that it is not respecting the upper and lower case of the headers. How was this solved?   //ls_json_resultado = lds_select.ExportJson( ) ls_json_resultado =...
Okay, so I have the following JSON: { "PATIENT_CASE": [ { "CaseDate": "03/05/2021", "NatureofCase": "Abdomen Injury", "CaseClosed": "No", "CaseID": 1261106365, "CenterID": 4716, "SortDate": "2021/03/05", "PatientID": 1261070650, "Hipaa": "No", "Desc...
Hello All, on windows server running a EXE the exportJson retunrs and empty string all the other features are working do we need any aditional DLL other than the ones of the runtime packager and the C++ runtime?...
Hello, I was wondering if anybody knows whether the Pipeline object will be capable of reading data from json files in near future. Best regards,Konstantin...
Hi Guys anyone of you knows if is possible configuring theme file .json in order to have this window title bar:   As you can see there is a color gradient and yellow row a the bottom...   Thanks in advance ...
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...
Hi PBers.....! I recently tested / used the dw.ExportJson() combined with JSONPackage and I am starting to feel that it's time to move on, from restful XML services to JSON.  What worries me is that I didn't find any way to limit the data exported ...
Hi, I can't find any way how to import JSON data to nested DataWindow report. Is here anyone who knows how to do it? I can import data to the main DataWindow, but I can't find out any way how to import it to the nested one. It just stays empty now. ...
We are on PB 2017 LTR and looking for simple syntax to convert a simple powerbuilder array to and from Json so we can save the array values in simple Json , then reload the array directly from JSON. We never used json before and a little inexperienc...
Hi, I need to access the json array, but I can't find a way to do that. Array: {    "department_array":[       {          "name":"Website",         "col1":"AAA",         "col2":"AEI"      },      {          "name":"PowerBuilder",         "col1":"B...
Hi All, The result set return by the datastore is a JSON format which is different when compared with the JSON string returned by the datastore.ExportPlainJson built in method: teh column names are surrounded by the back slash character \ Example i...
PB 2017 R3 build 1858  32 bit application I have been doing a lot of web client refactoring lately, using JSON. I some instances I send and receive huge JSON return data sets, of a complex, nested  nature and containing base64 encoded images. One ...
In my PowerBuilder Client, I want to use the JsonPackage object to send the result sets of two datastores to our Web API that was created with SnapDevelop.  Here is my PB code: //set values of JSONPackage with API datastores ljpk_submit.setvalue( "...
Hi Everyone, I've got a question about how people are creating complex JSON for real world applications.  I'm updating an application to use a third party's REST API and some of the API calls require reasonably complex JSON to be sent. The JSON may ...
  • Page :
  • 1