× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm just looking at options here, I don't know a cotton pickin thing about
JSON, but it was brought up and I thought I would ask.


I find that an interesting request because unlike XML, JSON was designed
to be consumed by a browser or server with a JavaScript interpreter.
JSON represents an object in text and when rendered produces an object
for JavaScript to use. Most JSON I have worked with or created has both
data and JavaScript functions so using it to transport data between
non-JavaScript capable servers is an interesting use case.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 9/20/2013 7:57 AM, RPGLIST wrote:
Is there a native JSON parser for the i? One of our c# guys uses it for
EDI and suggested that it might be something we could use for sending
data
to and from the iSeries.

As I've mentioned previously I can have up to 99 lines of around 12k per
line and if I use XML that will probably double in size so abouty 240k
per
transaction. Not huge but using a stored procedure has already given us
headaches since he keeps getting an error that he's exceeding the 32767
char limit, and yes I have the fields in the RPG defined as SQLTYPE
CLOB.

I know a web service would probably be the cleanest way to handle the
transaction, but we've not done that and I've asked the systems guys to
turn it on, but that has to go through channels and I haven't received
an
answer yet. The owner however, is very much against opening the iSeries
to the outside world.

If someone has a better idea or suggestion I'm all ears. socket
programming is out for now, nobody here has the expertise and we don't
have the time for OJT.

Dutch





--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.