I think I still have commit rights, but it has been awhile. I can update the
copyright and drop the files where ever you might want. If I lost commit
rights, I can also send it to whomever you deem necessary. You can take this as
my permission.
I guess it should be noted that there are a couple of things I did not know how
best to address.
- No Unicode support
ooRexx did not support Unicode, so I figured that this was not a big deal. I
will admit I have not been keeping up with the status of the project lately, so
I do not know if this has already been addressed.
- .True and .False are not really types in ooRexx
Boolean values in JSON do not translate very well to ooRexx. I remember if you
run a boolean value through both sides of this code, it would turn the boolean
into an integer. I even posted a question on the list about this and Rick said
that there was a way in 3.2 to tell the difference between .True and 1. I was
running on 3.1, so I could not use his solution. If there is a better way in
newer releases, it might be nice to update this part.
It has been awhile since I wrote this, but I do remember these two issues.
One more issue that might be a problem is that this routine is recursive. The
call stack might be a problem if you get too many children, but I remember
testing this and for what I was doing it was fine. One might want to rewrite it
not to use recursion to prevent fix this. I even thought about doing this on
the side. It did not seem like I got much feed back, so I decided it was not
worth spending a whole lot of time on something only me and three other guys in
the world used.
--
Brandon Cherry
Network Engineer, Safe Data, Inc.
800-488-7200 x3017
http://www.safedatausa.com/
From: "Rony G. Flatscher" <rony.flatsc...@wu.ac.at>
To: oorexx-devel@lists.sourceforge.net
Sent: Monday, July 11, 2016 6:32:19 AM
Subject: Re: [Oorexx-devel] About adding JSON-support for ooRexx 5.0
Hi Brandon,
On 08.07.2016 17:14, Brandon Cherry wrote:
I am actually surprised that no one else came up with something better. I just
wanted something quick for the web work I was doing at the time.
It seems you have hit the nail right on the head and it seems that it has been
a good solution already! Do you happen to know whether there are new encodings
that have been added to JSON since you wrote that class?
BQ_BEGIN
I have no problem with adding it to the project, but keep in mind I originally
wrote it to work against ooRexx 3.1 (that was what was on our oldest web server
at the time).
BQ_END
So does this mean, that the ooRexx needed CPL license is granted, such that
your class could be added to the ooRexx project?
---rony
BQ_BEGIN
From: "Erich Steinböck" <erich.steinbo...@gmail.com>
To: "Open Object Rexx Developer Mailing List"
<oorexx-devel@lists.sourceforge.net>
Sent: Friday, July 8, 2016 10:22:03 AM
Subject: Re: [Oorexx-devel] About adding JSON-support for ooRexx 5.0
I have opened enhancement request #625 Add json class to ooRexx Distribution
some time ago.
I assume that a first step would be to get the original author's written
confirmation to grant json.cls to the ooRexx project to be released under the
CPL we're using.
BQ_END
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel