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.
  • Constructor Details

  • 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