BinaryConverter

Oct 22, 2011 at 2:55 PM

I was trying to use JSON.NET 4.0 release 3 ..\Json40r3\Bin\Net35 and the code below returns an empty json string 

string parameter={}

but library from ..\Json40r3\Bin\Net20 works correctly.

I am working with .NET Framework 4.0 

noteattachment{

string FileName

byte[] document

}

string parameter = Newtonsoft.Json.JsonConvert.SerializeObject(noteattachment

                                                                        , Newtonsoft.Json.Formatting.Indented                                                                       

,new BinaryConverter()                                                                       

);

I would add it to Issues, but I want to confirm that Net35 dll should work with .NET Framework 4.0