JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Enum Constants |
  • Field |
  • Method
  • Detail:
  • Enum Constants |
  • Field |
  • Method
com.amazonaws.util.json

Enum Jackson

    • Method Detail

      • values

        public static Jackson[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Jackson c : Jackson.values())
         System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Jackson valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • toJsonPrettyString

        public static String toJsonPrettyString(Object value)
      • toJsonString

        public static String toJsonString(Object value)
      • fromJsonString

        public static <T> T fromJsonString(String json,
         Class<T> clazz)
        Returns the deserialized object from the given json string and target class; or null if the given json string is null.
      • stringMapFromJsonString

        public static Map<String,String> stringMapFromJsonString(String json)
        Returns a map of strings from the given json string; or null if the given json string is null.
      • fromSensitiveJsonString

        public static <T> T fromSensitiveJsonString(String json,
         Class<T> clazz)
        Returns the deserialized object from the given json string and target class; or null if the given json string is null. Clears the JSON location in the event of an error
      • jsonNodeOf

        public static com.fasterxml.jackson.databind.JsonNode jsonNodeOf(String json)
      • jsonGeneratorOf

        public static com.fasterxml.jackson.core.JsonGenerator jsonGeneratorOf(Writer writer)
         throws IOException 
        Throws:
        IOException
      • getObjectMapper

        public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      • getWriter

        public static com.fasterxml.jackson.databind.ObjectWriter getWriter()
      • getPrettywriter

        public static com.fasterxml.jackson.databind.ObjectWriter getPrettywriter()
Skip navigation links
  • Summary:
  • Nested |
  • Enum Constants |
  • Field |
  • Method
  • Detail:
  • Enum Constants |
  • Field |
  • Method

AltStyle によって変換されたページ (->オリジナル) /