code: def from_string(self, string_representation, resource=None):
          
          stream = NativeIO(string_representation)
          return self.from_stream(stream, resource=resource)
docs: Extracts resource data from the given string and converts them to
          a new resource or updates the given resource from it.