Class DefaultIntrospector
java.lang.Object
com.atlassian.confluence.json.introspector.DefaultIntrospector
- All Implemented Interfaces:
Introspector
Override some behaviour of the JSON library JSON object to allow mapped fields to be converted to JSON objects before
adding to map. (The default is to just store the object's toString representation in the map)
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultIntrospector
getProperties
(Object bean) Return the properties of the bean as property names mapped to property value Objects.
-
Method Details
-
getInstance
-
getProperties
Description copied from interface:Introspector
Return the properties of the bean as property names mapped to property value Objects.
Properties are defined by getter methods of the form getX or isX, with no parameters.- Specified by:
getProperties
in interfaceIntrospector
- Returns:
- map of property name Strings to property values.
-