public interface JSONStreams
Modifier and Type | Method and Description |
---|---|
JSONReader |
jsonReader(CharSequence text)
Wrap the specified character sequence in a
JSONReader instance |
JSONReader |
jsonReader(InputStream stream)
Wrap the specified byte stream in a
JSONReader instance |
JSONReader |
jsonReader(Readable stream)
Wrap the specified character stream in a
JSONReader instance |
JSONWriter |
jsonWriter(Appendable stream)
Wrap the specified character stream in a
JSONWriter instance. |
JSONWriter |
jsonWriter(OutputStream stream)
Wrap the specified byte stream in a
JSONWriter instance. |
JSONWriter jsonWriter(OutputStream stream)
JSONWriter
instance.stream
- The byte stream to write JSON toJSONWriter
instanceJSONWriter jsonWriter(Appendable stream)
JSONWriter
instance.stream
- The character stream to write JSON toJSONWriter
instanceJSONReader jsonReader(Readable stream)
JSONReader
instancestream
- The character stream to read the JSON content from.JSONReader
instanceJSONReader jsonReader(CharSequence text)
JSONReader
instancetext
- The CharSequence
to read the JSON content from.JSONReader
instanceJSONReader jsonReader(InputStream stream)
JSONReader
instancestream
- The byte stream to read the JSON content from.JSONReader
instanceOracle REST Data Services Plugin API version: 3.0.0.65.09.35 Copyright © 2015 Oracle Corp. All Rights Reserved.