Class SimpleJsonSerializer
java.lang.Object
org.springframework.integration.json.SimpleJsonSerializer
Extremely simple JSON serializer. Only handles top level
properties accessed by getters.
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Method Summary
-
Method Details
-
toJson
Convert the bean to JSON with the provided properties.- Parameters:
bean
- the object to serialize.propertiesToExclude
- the property names to ignore.- Returns:
- the JSON.
-