code: public function decode($value, Field $field, Codec $codec = null)
      {
          if (null === $value || $value instanceof BigNumber) {
              return $value;
          }
  
          return new BigNumber((string) $value);
      }
docs: {@inheritdoc}