public final class JSONWriterFactory extends Object
JSONEmitter
implementation
to write JSON.Modifier and Type | Method and Description |
---|---|
static void |
init()
Initializes this class.
|
static JSONWriter |
newInstance(OutputStream out)
Always return a JSON Writer.
|
static JSONWriter |
newInstance(Writer writer)
Always return a JSON Writer.
|
public static JSONWriter newInstance(OutputStream out)
out
- The stream receiving the JSON output.public static JSONWriter newInstance(Writer writer)
writer
- The writer receiving the JSON output.public static void init()
Copyright © 2016 Allette Systems. All rights reserved.