code: private static void setFieldValue(Object entity, Attribute column, JsonElement value)
      {
          if (column.getJavaType().isAssignableFrom(byte[].class))
          {
              PropertyAccessorHelper.set(entity, (Field) column.getJavaMember(),
                      PropertyAccessorFactory.STRING.toBytes(value.getAsString()));
          }
          else
          {
              PropertyAccessorHelper.set(
                      entity,
                      (Field) column.getJavaMember(),
                      PropertyAccessorHelper.fromSourceToTargetClass(column.getJavaType(), String.class,
                              value.getAsString()));
          }
      }
docs: Sets the field value.
  
  @param entity
  the entity
  @param column
  the column
  @param value
  the value