Class 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 Detail

      • 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