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–2018 Take. All rights reserved.