code: def from_json_str(cls, json_str):
      
      return cls.from_json(json.loads(json_str, cls=JsonDecoder))
docs: Convert json string representation into class instance.
  
      Args:
        json_str: json representation as string.
  
      Returns:
        New instance of the class with data loaded from json string.