I am trying to update a JSON theme using the .NET Diffusion client library. I know that currently in .NET there is only partial support for the JSON theme, but I think you can update the themes. So I created the theme using the javascript client api and then updated it using C #. The theme is created using:
var initvalue = diffusion.datatypes.json().from({ "name" : "some transaction example", "price": 2.00 }); session.topics.add("examples/rmq/testtopic", initvalue);
but updating it in C #:
updateControl.Updater.Update("examples/rmq/testtopic", "{'name': 'some other trans','price':20}", new TopicUpdaterUpdateCallback(st));
returns the initial value void / empty.
I cannot find any resources regarding JSON and .NET topics, so I would appreciate your help.
source share