skip to main content

Internal Objects : JSONStream Class (com.iscobol.rts.JSONStream) : setPrintWriter

setPrintWriter
Associates a PrintWriter to the JSONStream object. It will be used by the write method.
General format
void setPrintWriter ( Print-Writer )
Syntax rules
1.
Print-Writer is an object reference to java.io.PrintWriter.
Code example
configuration section.
    class jsonStream  as "com.iscobol.rts.JSONStream"
working-storage section.
77 objJsonStream object reference jsonStream.
procedure division.
objJsonStream:>setPrintWriter("out.json")

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left