Anyone ever try to produce JSON style output with WebFOCUS?
If yes, any suggestions on approach?This message has been edited. Last edited by: dhagen,
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
April 09, 2009, 02:14 AM
Tony A
Quick answer no, but I would think that forcing WF output into an ASP file would probably be easiest?
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
April 09, 2009, 07:12 AM
dhagen
Thanks T. I was really trying to avoid using ASP or Java for this. I was hoping that someone might have done this using DEFINEs and DOC format. Wishful thinking?
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
April 09, 2009, 08:26 AM
Tony A
Not really Darryl, I guess that you could get the JS Object into a single field and then hold it HTMTABLE surrounding the result with HTMLFORM and the requisite include files?
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
April 10, 2009, 07:42 AM
dhagen
I'm going to work on a java filter to convert a PCHOLD FORMAT HTMLTABLE to a JSON output. I don't really have an actual problem here, I'm just trying to build more of an auto JSON format so that I can more easily use WF as a source for RIA development instead of PHP, JSP, ASP, etc. with the larger development frameworks available out there today.
Thanks for your help T!
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
The best we find to do that is to create a Class Fex that are able to call a fex, this fex is retruning XML and a procedure in this class convert the standard WebFOCUS XML into JSON.