JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
dev.restate.sdk.annotation
Json
Contents
Description
Optional Element Summary
Element Details
contentType
Hide sidebar
Show sidebar
Annotation Interface Json
@Target
({
METHOD
,
PARAMETER
})
@Retention
(
RUNTIME
)
public @interface
Json
Serialize/Deserialize the annotated element as Json
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
contentType
Content-type to use in request/responses.
Element Details
contentType
String
contentType
Content-type to use in request/responses.
Default:
"application/json"