|
I think as a minimum yajl_case_convert_name needs to be replaced/modified
rather than not called. By not calling it you will end up with invalid RPG
names for json names such as my-simple-name. Your fix only works if the
resulting name is already valid as an RPG name.
Jon P.
On Dec 30, 2023, at 10:01 AM, Brad Stone <bvstone@xxxxxxxxx> wrote:list
In source code YAJLR4 I made this change and it seems ok...
//newField = yajl_case_convert_name(%str(tempField));
newField = %str(tempField);
On Sat, Dec 30, 2023 at 8:46 AM Brad Stone <bvstone@xxxxxxxxx> wrote:
Ah... sounds fun! I did take a quick look and it seems it's a deep dive
too. Sounds fun!
On Fri, Dec 29, 2023 at 6:41 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:
I has a brief chat about this with Scott some time back and took a look
at some of the code behind it. It is on my "when I have time" project
relatedbut I have not got round to it so far.
I'll race you!
Jon P.
On Dec 29, 2023, at 1:17 PM, Brad Stone <bvstone@xxxxxxxxx> wrote:to
Just a weird question before I dig into the source, but is there a way
have YAJLGEN create the RPG code with the JSON objects the same casethey
are in the document instead of all upper case?Cloud
Sorry, just my OCD in action. :)
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Provider!related questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.--questions.
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.