public void jsonize()

in tablestore/src/main/java/com/alicloud/openservices/tablestore/model/ComputeSplitsBySizeResponse.java [43:87]


    public void jsonize(StringBuilder sb, String newline) {
        sb.append("{");
        sb.append("\"ConsumedCapacity\": ");
        if (this.getConsumedCapacity() != null) {
            this.getConsumedCapacity().jsonize(sb, newline + " ");
        } else {
            sb.append("null");
        }
        sb.append(", ");

        sb.append("\"PrimaryKeySchema\": ");
        boolean firstItem = true;
        if (this.getPrimaryKeySchema() != null) {
            sb.append("[ ");
            for (PrimaryKeySchema pks : this.primaryKeySchema) {
                if (firstItem == true) {
                    firstItem = false;
                } else {
                    sb.append(", ");
                }
                pks.jsonize(sb, newline + " ");
            }
            sb.append("] ");
        } else {
            sb.append("null ");
        }
        sb.append(", ");
        sb.append("\"Splits\": ");
        if (this.getSplits() != null) {
            sb.append("[");
            firstItem = true;
            for (Split s : this.splits) {
                if (firstItem == true) {
                    firstItem = false;
                } else {
                    sb.append(", ");
                }
                s.jsonize(sb, newline + " ");
            }
            sb.append("]");
        } else {
            sb.append("null ");
        }
        sb.append("}");
    }