public static JSONObject of(
            String k1,
            Object v1,
            String k2,
            Object v2,
            String k3,
            Object v3,
            String k4,
            Object v4,
            String k5,
            Object v5,
            Object... kvArray

    ) {
        JSONObject object = new JSONObject(5);
        object.put(k1, v1);
        object.put(k2, v2);
        object.put(k3, v3);
        object.put(k4, v4);
        object.put(k5, v5);
        if (kvArray != null && kvArray.length > 0) {
            of(object, kvArray);
        }
        return object;
    }
Pack multiple key-value pairs as {@link JSONObject}

<pre>
JSONObject jsonObject = JSONObject.of("key1", "value1", "key2", "value2", "key3", "value3", "key4", "value4", "key5", "value5", kvArray);
</pre>

@param k1 first key
@param v1 first value
@param k2 second key
@param v2 second value
@param k3 third key
@param v3 third value
@param k4 four key
@param v4 four value
@param k5 five key
@param v5 five value
@param kvArray multiple key-value
@since 2.0.53
core/src/main/java/com/alibaba/fastjson2/JSONObject.java