JsonSerializer VS JsonConvert

Jan 4, 2010 at 4:58 PM

Hi I'm a newbie to json.net could someone explain the difference pros/cons to using jsonserializer vs jsonconverter????

I see examples with both but not sure which one is best and when?

Regards,

VB

Coordinator
Jan 6, 2010 at 12:16 AM

The methods on JsonConverter just wrap JsonSerializer and use it internally. They work with strings and so pass it StringReader/StringWriter which wraps everything up in a single method call.