Richard,
The problem is that only setRaw and getRaw are ment to be overloaded. Because the value is passed as std:::string to setRaw, JSONConfiguration thinks the value is a JSON string. So setting values in a JSONConfiguration is a problem.
Franky
rmoffer wrote:Is the problem with setting values a short term problem implementation issue - or likely to remain for a while (months+) ?
rmoffer wrote:I'm trying to work out if I need to look for another solution to create JSON files...
fbraem wrote:rmoffer wrote:Is the problem with setting values a short term problem implementation issue - or likely to remain for a while (months+) ?
I'm working on a solution that will create values when they don't exist. Hope to finish this work next week ...
fbraem wrote:If you only need to create a JSON file, you can always use the stringify method and use a file outputstream ...
rakesh wrote:I checked out the sources from the mqweb project link and cannot compile it. The JSONTemplate.cpp file includes and attempts to use Poco/Util/JSONTemplateCache.h, which however is not in the repository. I just commented out the code that attempted to use the template cache and it compiles now, but just thought I would let you know.
Users browsing this forum: guenter and 1 guest