Package io.atlasmap.json.service
Class JsonService
java.lang.Object
io.atlasmap.json.service.JsonService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
cleanJsonData
(String jsonData) protected <T> T
fromJson
(InputStream value, Class<T> clazz) javax.ws.rs.core.Response
inspect
(InputStream requestIn) simpleHelloWorld
(String from) protected byte[]
protected boolean
validJsonData
(String jsonData)
-
Constructor Details
-
JsonService
public JsonService()
-
-
Method Details
-
toJson
-
fromJson
-
simpleHelloWorld
-
inspect
@POST @Path("/inspect") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response inspect(InputStream requestIn) -
validJsonData
-
cleanJsonData
-