Putting a Dictionary into OperationRequestParameter

Enigmato
Enigmato
edited December 2015 in Native
It seems that putting a value into OperationRequestParameter (actually Dictionary) requires me to use Helper functions like Helpers::ValueToObject::get(), to make it accepted by template function parameter.

While it works fine with most of the types most primitive types and JString, but I can't do it with my another dictionary.
I thought that it is possible to put another Hashtable or Dictionary into OperationRequestParameter, but I can't write correct put() calls to put it in; With helper functions I get Compile-time assertion failure ( ERROR_UNSUPPORTED_VALUE_TYPE ) and I get no matching overloads without it.
OperationRequestParameters param = OperationRequestParameters();
Dictionary<nByte, JString> dictionary = Dictionary<nByte, JString>();
param.put(key, Helpers::ValueToObject::get<Dictionary<nByte, JString>>(dictionary));
What mistakes or misinterpretation am I making? or Is it not possible at all?


Was merely my mistake of compiler setting. please ignore.