code: def from_raw(self, raw: RawScalar) -> Optional[ScalarValue]:
          
          if isinstance(raw, str):
              return raw
docs: Return a cooked value of the receiver type.
  
          Args:
              raw: Raw value obtained from JSON parser.