Hi,

I made a small change in cxxtools to solve the problem of adding 
preformatted json to json using the json serializer. The solution is 
completely different from the suggested patch from Marek. I did not 
really like to add such "raw" category into the SerializationInfo. It 
took some days to get another idea, how to solve it.

Now the json serializer looks at the type name, which is sent in 
SerializationInfo. If it is is "json" it is added to the json document 
directly. That way it will be handled as an ordinary string in other 
serializers.

The change is much less intrusive than Mareks one.

It is not yet documented but you can look at 
test/jsonserializer-test.cpp in the method "testDirect" for a example.

And sorry not to answer the mail directly. I lost some mails these days 
when I tried to back them up.


Tommi

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to