public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
        {
            var source = (Client)value;
            var target = new ClientLite {
                ClientId = source.ClientId
            };

            serializer.Serialize(writer, target);
        }
 public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
 {
     var source = (Client)value;
     var target = new ClientLite { ClientId = source.ClientId };
     serializer.Serialize(writer, target);
 }