public InputSerialization withJson(JSONInput json) {
        setJson(json);
        return this;
    }
Specifies JSON as object's input serialization format.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/InputSerialization.java