ASP.NET 4 MVC Web API Key Value / List Collection á la JSON for XML

roadwalkpg

New Member
Is there a generic key/value-collection class which can be serialized into xml and json?I dont want to use model-classes as return value. (I do not need classes because I dont have .NET on client-side and don't want class implementations. Using interfaces and classes is problematic anyway.)There are JSON-Classes (e.g. JSON.NET) but this objects can only be serialized to JSON.I need a neutral class which can both.
 
Back
Top