BEAST
|
Translates between json and objects used for exchange. More...
Public Member Functions | |
String | toJson (AuthorizationRequest request) |
Translates an authorization request into a json string. | |
ExchangeMessage | parse (InputStream jsonStream) |
Parses an input stream containing json. | |
ExchangeMessage | parse (String json) |
Parses a json string. | |
Translates between json and objects used for exchange.
ExchangeMessage eu.baltrad.beast.exchange.json.RequestMapper.parse | ( | InputStream | jsonStream | ) |
Parses an input stream containing json.
jsonStream | the json stream |
Implemented in eu.baltrad.beast.exchange.json.RequestMapperImpl.
ExchangeMessage eu.baltrad.beast.exchange.json.RequestMapper.parse | ( | String | json | ) |
Parses a json string.
json | the json string |
Implemented in eu.baltrad.beast.exchange.json.RequestMapperImpl.
String eu.baltrad.beast.exchange.json.RequestMapper.toJson | ( | AuthorizationRequest | request | ) |
Translates an authorization request into a json string.
request | the request |
Implemented in eu.baltrad.beast.exchange.json.RequestMapperImpl.