On 25/10/2017 8:13 PM, Windt, W.K.F. van der (Fred) wrote:
With regards to the JSON Parser. We are already using the z/OS XML
System Services in our applications. Wouldn't it just be a great idea if IBM
provided z/OS JSON System Services with the same interface and events as
the XML System Services? Then clients could switch from XML to JSON by
simply changing the call to system services. No other changes needed. I
discussed this at SHARE Atlanta with members of the IBM team that
developed the JSON parser. They saw no merit in this idea whatsoever. It
seems to me that IBM simply has no idea what their clients want or need.
Great design! Would you consider a vendor solution?
I would but I'm not so sure my employer would. We want to move off the
mainframe. We will probably develop something along this lines ourselves now.
(Isn't that weird..?)
Is your application serving web clients? We don't do the XML/JSON stuff
in native code we use Java with the Jackson serialization library and
convert POJO's to and form byte streams which are mapped by copybooks, C
header files or assembler DSECTs in the native code. Works well for us
but your environment seems much more complex.
If you want to RYO you should take a look at jsmn
https://github.com/zserge/jsmn and port it to your language of choice.
It's simple, fast and can be used to build more complex JSON parsers.
Fred!
-----------------------------------------------------------------
ATTENTION:
The information in this e-mail is confidential and only meant for the intended
recipient. If you are not the intended recipient, don't use or disclose it in
any way. Please let the sender know and delete the message immediately.
-----------------------------------------------------------------
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN