com.atlassian.confluence.json.jsonator
Class EntityJsonator
java.lang.Object
com.atlassian.confluence.json.jsonator.EntityJsonator
- 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.
Method Summary |
Json |
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 |
EntityJsonator
public EntityJsonator(UserAccessor userAccessor)
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
Copyright © 2003-2012 Atlassian. All Rights Reserved.