This project is read-only.
1
Vote

doesnt have a field named

description

Trying to deserialize some json. Works in JSON.Net by newtonsoft. But I need CF and can't get theirs working. Also, want something more lightweight like this.

See attached file for .cs class and test json string.

This line fails:

var def = CodeBetter.Json.Converter.Deserialize<STShipment>(responseFromServer);

With:

ReflectionHelper.cs throwing
throw new ArgumentException(type.FullName + " doesn't have a field named: " + name);;
on line 57.

Ideas?

file attachments

comments