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



XSLT presents a xml document the way you want, can it do the same with JSON?

On Wed, Oct 28, 2020 at 2:30 AM Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

All those "online JSON formatters" are not the mainstream, they are paying
Google to come to the top of the search.

Open source languages like PHP have JSON formatting built in.

Learn to use the open source resources on your IBM i.


On Tue, Oct 27, 2020 at 9:58 PM Richard Schoen <richard@xxxxxxxxxxxxxxxxx>
wrote:

Out of curiosity why and how are you planning present JSON to an end
users
?

Using a 5250 app, web app ?

There appear to be JSON prettifiers for Python and probably Node, PHP,
etc.

You could probably download the JSON and run it through one of those
processes if you really want your end users to view raw prettified JSON
files.

Better yet, pull the JSON into a DB structure if you really want to show
it from an app.

Hard to provide much guidance without knowing the full intent.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
------------------------------

message: 2
date: Tue, 27 Oct 2020 20:09:45 +0000
from: Jack Prucha <Jack.Prucha@xxxxxxx>
subject: iSeries based JSON "Pretty" formatter?

I want to present a JSON payload to the user in an easy-to-read format.
Output like JSONFormatter.org. Linking to a web site is a non-starter
so
I'm searching for something iSeries based.

I have Scott's YAJL software installed and am using it with Data-Into.
However, I don't see an example in his thorough documentation to take
any
JSON and pretty up the formatting for human viewing. There's a CLE pgm
in
his YAJLLIB72 called JSON_Refmt but I can't figure it out.

Most RPGLE JSON open source I see is designed to create or disassemble
JSON - not display it.

Any suggestions?

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

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021

NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.