Hi.
I have created a rest-query.xml file and added the following query
<query name="findUser" entity="business$BusinessUser" view="user.browse">
    <jpql><![CDATA[select b from business$BusinessUser b where b.id = :id]]></jpql>
    <params>
        <param name="id" type="java.utils.UUID"/>
    </params>
</query>
When I try to send a JSon request to this query i get an exception that tells me that i can put a String in ID which is of type UUID.
How can I convert JSON String to be converted to UUID?
The Query in Java is as follow and Map<String, String> can’t be changed
protected Map<String, String> getParams() throws AuthFailureError {
    Map<String, String> params = new HashMap<String, String>();
    try {
        JSONObject jUserInfo = new JSONObject(userInfo[0]);
        params.put("id", jUserInfo.getString("id"));
        
    } catch (JSONException e) {
        e.printStackTrace();
    }
    
    return params;
}
Any Ideas