code: def valueFromString(self, value, extra=None, db=None):
          
          try:
              return projex.text.safe_eval(value)
          except ValueError:
              return 0
docs: Converts the inputted string text to a value that matches the type from
          this column type.
  
          :param      value | <str>
                      extra | <variant>