hello,
i'm currently trying to create an open asset via jsonrpc; if i'm creating a default asset i'm happy; but with the open-parameter i have a problem; neither of the following code is functional
//Using when the param order is known
// JSONArray params = new JSONArray();
params.add(address)
if (isOpen == false) {
params.add(assetName)
}
else {
params.add('{"name":"asset5","open":true}')
}
params.add(quantity)
// Using with namend parameters
// The required named parameters to pass
Map<String,Object> params = new HashMap<String,Object>();
params.put("address", address);
params.put("name","asset7")
params.put("open", true)
params.put("qty", quantity)
i'm using the jars from http://software.dzhuvinov.com/json-rpc-2.0-base.html
can someone help?
thanks and regards
thomas