Method
GET
Parameters
Query Parameters
If set to true
, a serializable variable will be deserialized on server side and transformed to JSON using Jackson's POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath.
Note: While true
is the default value for reasons of backward compatibility, we recommend setting this parameter to false
when developing web applications that are independent of the Java process applications deployed to the engine.
Result
A JSON object with the following properties:
- objectTypeName: A string representation of the object's type name.
- serializationDataFormat: The serialization format used to store the variable.
Response Codes
Example 1
GET /task/aTaskId/variables/myObject123
Response
Example 2
GET /task/aTaskId/variables/myObject123?deserializeValue=false
Response
"value" : "
", a b "valueInfo" : {
"objectTypeName": "com.example.MyObject",
"serializationDataFormat": "application/xml"
}