× 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.



Here is a copy & paste from a 5250 session:

{"presidents":[
{"name":"George Washington" "life":"1732/1799"},
... 43 lines deleted
]}

The web console reports the error is row 1 col 16. Which is the first blank, if I counted right. Its also a linefeed. I repeated the exercise without linefeeds and got the same message.
-----------
Part 2:
So then I decided to double check. I copied the entire file from the 5250 screens with "Copy Append" and pasted the data into a new JSON file on my PC. It looked fine. I opened the web page. No data was displayed. The web console reported a problem at Row 2, column 28; it was looking for a "}". I am satisfied that it is a ccsid issue. At the moment it seems likely the answer lays with learning more about configuring the Apache server on the iSeries.


On 11/11/2016 1:13 PM, Kevin Turner wrote:
From what I can gather in this case the issue is fairly obvious to the naked eye although Booth has yet to confirm that it is the braces ({}) or other chars.

Sent from my iPad
...

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.