Class JsonObjectParser.Builder

  • Enclosing class:
    JsonObjectParser

    public static class JsonObjectParser.Builder
    extends Object
    Builder.

    Implementation is not thread-safe.

    Since:
    1.14
    • Constructor Detail

      • Builder

        public Builder​(JsonFactory jsonFactory)
        Parameters:
        jsonFactory - JSON factory
    • Method Detail

      • build

        public JsonObjectParser build()
        Returns a new instance of a JSON object parser.
      • getJsonFactory

        public final JsonFactory getJsonFactory()
        Returns the JSON factory.
      • getWrapperKeys

        public final Collection<String> getWrapperKeys()
        Returns the wrapper keys for the JSON content.
      • setWrapperKeys

        public JsonObjectParser.Builder setWrapperKeys​(Collection<String> wrapperKeys)
        Sets the wrapper keys for the JSON content.

        Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.