Siddhannt Arora

1

votes
0

answer
101

views

Google visualization chart on server side c#

I need to export the geo chart generated using google visualization into an image. One way is to go to the client side, generated and render the geo chart and then use getImageURI() and using the result generates an image on the server side. But, is there a way that I can skip going to the client si...
Siddhannt Arora
1

votes
1

answer
16

views

Have index value as nodes while converting XML to Json using Json.Net

I have an input XML as below: Bar 1 Line 2 Test title I am using JsonConvert.SerializeXmlNode() and want to have my output as below: {'Series': { '0': {'Type':'Bar','TargetAxisIndex':'1'}, '1': {'Type':'Line','TargetAxisIndex':'2'} } 'Title':'Test title' } Is there a way of achieving this? Basically...
Siddhannt Arora
2

votes
2

answer
247

views

Custom Deserialization using Newtonsoft.json

I am trying to deserialize a json for my class structure I have the following JSON: { 'Main': { 'Employees': { '0': { 'FirstName': 'Test ', 'LastName': 'One' }, '1': { 'FirstName': 'Test ', 'LastName': 'Two' } } } } I want to deserialize it for the following class structure: public class Main {...
Siddhannt Arora