Non String JsonProperty for Id does'nt work
Closed this issue ยท 1 comments
johnkattenhorn commented
Consider the following POCO
public class Foo
{
[JsonProperty(PropertyName = "id")]
public Guid MessageUid { get; set; }
}
Using this POCO throw's an exception at the line ๐
var exp = Expression.Lambda<Func<T, string>>(body, p);
I'm currently learning and researching lamba's as I don't expression building very well but any help would be most welcome.
Crokus commented
Thanks for submitting issue. I've added support for non-string Id types. Let me know if it works for you.