Discussions tagged JSON
Any way to handle JSON with more than 20 MB?
- How-to
- Last updated 4 weeks ago
- Ken Guo @Appeon replied 3 weeks ago
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...
Convert JSON to usable data
- How-to
- Last updated 1 month ago
- Chris Pollach @Appeon replied 1 month ago
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...
How to PostData using HTTPClient and how to read the result
- Resolved
- How-to
- Last updated 1 month ago
- Daryl Foster replied 1 month ago
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 =...
POST content-type application/json: max. Textsize 32K?
- Resolved
- How-to
- Last updated 5 months ago
- David Xiong @Appeon replied 5 months ago
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...
JsonImport trim trailing white spaces
- Issue
- Last updated 10 months ago
- Chris Pollach @Appeon replied 10 months ago
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...
Background colour of a dropdown datawindow (using theme)
- How-to
- Last updated 1 year ago
- Andreas Mykonios replied 1 year ago
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 =...
ImportJson method on Datawindow
- Resolved
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
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...
PowerBuilder Theme how to have a similar window title bar?
- How-to
- Last updated 1 year ago
- Ken Guo @Appeon replied 1 year ago
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...
Limit the number of columns exported with dw.ExportJson()
- Resolved
- How-to
- Last updated 1 year ago
- Kevin Ridley replied 1 year ago
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. ...
Looking for Syntax to convert PowerBuilder Array to Simple Json and Back
- How-to
- Last updated 2 years ago
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...
Capacity problems with base64encode and jsonpackage.getvalue
- Resolved
- Issue
- Last updated 2 years ago
- Sverre Tvedt replied 2 years ago
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 ...
Process JsonPackage in SnapDevelop Controller
- Resolved
- How-to
- Last updated 2 years ago
- Thomas Rolseth replied 2 years ago
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