Search found 6 matches

by pargent70
Wed Jan 29, 2025 8:16 am
Forum: Other ScottKlement.com Tools
Topic: base64_encode of a pdf file
Replies: 1
Views: 64793

base64_encode of a pdf file

Hi,

I'm using base64_encode to work with a pdf file.
I read the pdf content with get_clob_from_file,
Then I put the encoded data in a json ( variable name : request)
and send it by http_req

But the pdf received is different than the original,
(It shows just the template model without the ...
by pargent70
Thu Sep 01, 2022 10:08 am
Forum: YAJL-ILE
Topic: DATA-INTO. missing nodes name
Replies: 11
Views: 36831

Re: DATA-INTO. missing nodes name

This is the real json that I received:


{
"Carriers": {
"Generic": [
{
"CarrierID": "3103",
"CarrierService": "Standard"
}
],
"DHLParcel": [
{
"CarrierID": "1392",
"CarrierService": "Paket DE"
}
],
"BRT": [
{
"CarrierID": "3678",
"CarrierService": "Standard ...
by pargent70
Tue Aug 30, 2022 9:00 pm
Forum: YAJL-ILE
Topic: DATA-INTO. missing nodes name
Replies: 11
Views: 36831

Re: DATA-INTO. missing nodes name

I already tried with YAJL subprocedures with no result.
I will try again, maybe I did mistakes...

You right, my Solution is not efficient,
I reserve it as last chance
by pargent70
Tue Aug 30, 2022 8:21 pm
Forum: YAJL-ILE
Topic: DATA-INTO. missing nodes name
Replies: 11
Views: 36831

Re: DATA-INTO. missing nodes name

The idea could be to Read this table and work with path parameter for each node
So I can use data-into for little portion of json

I have to try, tomorrow

Thanks again
by pargent70
Tue Aug 30, 2022 7:03 pm
Forum: YAJL-ILE
Topic: DATA-INTO. missing nodes name
Replies: 11
Views: 36831

Re: DATA-INTO. missing nodes name

Thanks Scott.

right now I'm not able to ask for a change format.

with Php I already did a script to work with this json,
maybe I will do something to store the nodes name on a table
and then use this to create something to reuse on rpgle
by pargent70
Tue Aug 30, 2022 4:49 pm
Forum: YAJL-ILE
Topic: DATA-INTO. missing nodes name
Replies: 11
Views: 36831

DATA-INTO. missing nodes name

I have a json like this, from comeback to external api calling

{
"Carriers":
{"Carrier1":[
{"CarrierID":"3103",
"CarrierService":"Standard"
],
"Carrier2":[
{"CarrierID":"1392",
"CarrierService":"Standard"
],
"Carrier3":[
{"CarrierID":"3678",
"CarrierService":"Standard"
],
"Carrier4 ...