mcraig.brs
New Member
Progress 10.2b on Red Hat Linux
I have 2 questions that are related about Streams and JSON.
1. How can I take a temp-table and convert it to a JSON string and place that string in a variable that can be passed through a METHOD of a class.
2. How can I take a temp-table and export it to a file using class Method.
I have read through the JSON manual, and I do not see how to do these in an object oreinted way. I keep getting the error that I cannot have a stream in a function or method.
I figure this is something simple I just don't know where to look.
Any help is apreciated
Matt
I have 2 questions that are related about Streams and JSON.
1. How can I take a temp-table and convert it to a JSON string and place that string in a variable that can be passed through a METHOD of a class.
2. How can I take a temp-table and export it to a file using class Method.
I have read through the JSON manual, and I do not see how to do these in an object oreinted way. I keep getting the error that I cannot have a stream in a function or method.
I figure this is something simple I just don't know where to look.
Any help is apreciated
Matt