public final class RsJSON extends RsWrap
The class is immutable and thread-safe.
Modifier and Type | Class and Description |
---|---|
static interface |
RsJSON.Source
Source with JSON.
|
Constructor and Description |
---|
RsJSON(javax.json.JsonStructure json)
Ctor.
|
RsJSON(Response res)
Ctor.
|
RsJSON(RsJSON.Source src)
Ctor.
|
public RsJSON(javax.json.JsonStructure json) throws IOException
json
- JSON objectIOException
- If failspublic RsJSON(RsJSON.Source src) throws IOException
src
- SourceIOException
- If failspublic RsJSON(Response res)
res
- ResourceCopyright © 2015 Take. All rights reserved.