Enum Class JettisonConfig.Notation

java.lang.Object
java.lang.Enum<JettisonConfig.Notation>
org.glassfish.jersey.jettison.JettisonConfig.Notation
All Implemented Interfaces:
Serializable, Comparable<JettisonConfig.Notation>, java.lang.constant.Constable
Enclosing class:
JettisonConfig

public static enum JettisonConfig.Notation extends Enum<JettisonConfig.Notation>
Enumeration of supported JSON notations.
  • Enum Constant Details

    • MAPPED_JETTISON

      public static final JettisonConfig.Notation MAPPED_JETTISON
      The mapped Jettison JSON notation.

      Example JSON expression:

       {"userTable":{"columns":[{"id":"userid","label":"UserID"},{"id":"name","label":"User Name"}],"rows":{"userid":1621,"name":"Grotefend"}}}
       
    • BADGERFISH

      public static final JettisonConfig.Notation BADGERFISH
      The mapped Badgerfish JSON notation.

      Example JSON expression:

       {"userTable":{"columns":[{"id":{"$":"userid"},"label":{"$":"UserID"}},{"id":{"$":"name"},"label":{"$":"User Name"}}],"rows":{"userid":{"$":"1621"},"name":{"$":"Grotefend"}}}}
       
  • Method Details

    • values

      public static JettisonConfig.Notation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JettisonConfig.Notation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null