public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { var source = (ClaimsPrincipal)value; var target = new ClaimsPrincipalLite { AuthenticationType = source.Identity.AuthenticationType, Claims = source.Claims.Select(x => new ClaimLite { Type = x.Type, Value = x.Value }).ToArray() }; serializer.Serialize(writer, target); }