How to convert jobject to cocos2d::ValueMap?

How to convert jobject to cocos2d::ValueMap?
0.0 0

#1

Short Question:

How Can I convert jobject to cocos2d::ValueMap?

Detailed Question:

I have Java part:

public class MyCallback implements MyListener {

    public native void callback(Object data);

    public MyCallback(){}

    @Override
    public void onResponse(Map<String, String> data) {
        callback(data);
    }
}

I want to return Map<String, String> data to Cocos2d Class. So I wrote:

JNIEXPORT void JNICALL Java_com_comp_ MyCallback_ callback
    (JNIEnv *env, jobject obj, jobject data) {

and I get jobject data

So now how to get ValueMap from jobject?

cocos2d::ValueMap myData = ... ???