private static OrderedJSONObject setCommonKeyTypeObject(OrderedJSONObject obj) {
        obj.put("key", "myKey2");
        obj.put("keyType", "java.lang.String");
        obj.put("value", "java.lang.String");

        return obj;
    }
private static OrderedJSONObject setCommonKeyTypeObject ( OrderedJSONObject obj ) { obj . put ( "key" , "myKey2" ) ; obj . put ( "keyType" , "java.lang.String" ) ; obj . put ( "value" , "java.lang.String" ) ; return obj ; }
Sets common structure to JSON objects for specific elements
{
"key": "myKey2",
"keyType": "java.lang.String",
"value": "java.lang.String"
}

@param obj objects to be added here
@return OrderedJSONObject