Search found 6 matches

by captainfruitbat
Wed Sep 18, 2024 4:14 am
Forum: YAJL-ILE
Topic: YAJL_GET_STRING UTF8
Replies: 5
Views: 33264

Re: YAJL_GET_STRING UTF8

Fantastic - thanks Scott
by captainfruitbat
Tue Sep 17, 2024 10:36 pm
Forum: YAJL-ILE
Topic: YAJL upgrade - Recompile needed?
Replies: 2
Views: 22708

Re: YAJL upgrade - Recompile needed?

Thanks - that's what I thought. I've upgraded HTTPAPI multiple times with no issues but haven't done YAJL before. This client has no test box and YAJL is used in multiple business-critical interface applications. I will schedule the update out-of-hours so it can be verified before it gets called for...
by captainfruitbat
Tue Sep 17, 2024 8:39 pm
Forum: YAJL-ILE
Topic: YAJL upgrade - Recompile needed?
Replies: 2
Views: 22708

YAJL upgrade - Recompile needed?

I need to upgrade our YAJL installation to the latest version. If I use the same library name for the new version as I did for the old, do I need to recompile all the RPGLE programs that use YAJL? I'm guessing not, but have no means to test outside the live environment.
by captainfruitbat
Sun Sep 15, 2024 10:41 pm
Forum: YAJL-ILE
Topic: YAJL_GET_STRING UTF8
Replies: 5
Views: 33264

Re: YAJL_GET_STRING UTF8

It turns out the version of YAJL on this IBM i does not have YAJL_GET_STRING_UTF16. Must be quite old. I will get it updated to the latest version. When I install the new YAJL version, do I need to identify and recompile any RPGLE programs that use it? I will use the same library name for YAJL.
by captainfruitbat
Fri Sep 13, 2024 2:59 am
Forum: YAJL-ILE
Topic: YAJL_GET_STRING UTF8
Replies: 5
Views: 33264

Re: YAJL_GET_STRING UTF8

Thanks Scott - will give that a try. Your comments about using UTF-16 in the database are noted, and I will make that change.
by captainfruitbat
Thu Sep 12, 2024 11:37 pm
Forum: YAJL-ILE
Topic: YAJL_GET_STRING UTF8
Replies: 5
Views: 33264

YAJL_GET_STRING UTF8

I have a legacy RPGLE program that uses YAJL to parse JSON data from the IFS into a character column in an IBM i database table. This has been working well for years when the incoming data was basic ASCII and the table column was EBCDIC. We now need to handle a much broader set of characters. The JS...