I have a dynamic object that looks like this,
{ \"2\" : \"foo\", \"5\" : \"bar\", \"8\" : \"foobar\" }
How can I convert this
Another way is using System.Web.Helpers.Json included in .NET 4.5.
Json.Encode(object) and Json.Decode. Like:
Json.Decode>(value);
MSDN: https://msdn.microsoft.com/en-us/library/gg547931(v=vs.111).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
Regards, MarianoC.