@Override
  public @Nullable JsonElement toJson(@NotNull Object bean, @Nullable SerializationFilter filter) {
    Object value = accessor.read(bean);
    return value == null ? JsonNull.INSTANCE : binding.toJson(value, filter);
  }
@Override
  public @Nullable JsonElement toJson(@NotNull Object bean, @Nullable SerializationFilter filter)