- All Implemented Interfaces:
Jsonator<com.atlassian.user.Entity>
public class EntityJsonator
extends Object
implements Jsonator<com.atlassian.user.Entity>
Converts a User or Group into a JSON object prior to serialization.
-
Constructor Summary
Constructors
-
Method Summary
convert(com.atlassian.user.Entity entity)
Creates a
Json
representation of a given object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EntityJsonator
- Since:
- 7.16
-
Method Details
-
convert
public Json convert(com.atlassian.user.Entity entity)
Description copied from interface: Jsonator
Creates a
Json
representation of a given object
- Specified by:
convert
in interface Jsonator<com.atlassian.user.Entity>
- Parameters:
entity
- the object to be serialized
- Returns:
- Json JSON representation of the given object