Have you considered using DATA-GEN to build it Brad? You could use
Barbara's example or Scott's YAJLDTAGEN as a foundation. More versatile
that stringing the stuff out.
On Oct 19, 2021, at 10:48 AM, Brad Stone <bvstone@xxxxxxxxx> wrote:good
Well, of course as things go in the IT world these days, we can't leave
well enough alone.
Anyhow, I'm working on a project that uses GraphQL. I was thinking at
first "ok, cool... its basically JSON".
No, it's not. It's JSON without delimiters, basically. Why change a
thing when JSON would work just fine?or
Anyhow, at this point I only need to build GraphQL and put it in JSON for
web service requests (and not parse it). But, I'm curious if anyone else
is dealing with it, or if YAJL has options for this (I didn't see any),
what other methods people are using.YAJL
It looks like I just need to build the GraphQL data, then I could use
to put that into a JSON variable. But if I'm doing that, why even useYAJL
just to wrap the GraphQL in JSON? (ie, just use literals).Cloud
Yes, I think it's silly... I'd still love to hear why we can't use JSON
instead of GraphQL.. I mean, I've seen JSON inside of JSON (which is just
Job security maybe? :)
</Getting old man rant>
Bradley V. Stone
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.