class_docstr: Defines the cohort which will be injected from SDK into the Dashboard.
  :param name: Name of the cohort.
  :type name: str
class_docstr_tok: ["Defines","the","cohort","which","will","be","injected","from","SDK","into","the","Dashboard",".",":","param","name",":","Name","of","the","cohort",".",":","type","name",":","str"]
docstr: Method to read a json string and return a Cohort object.
  
  :param json_str: Serialized JSON string.
  :type: str
  :return: The Cohort object.
  :rtype: Cohort
docstr_tok: ["Method","to","read","a","json","string","and","return","a","Cohort","object",".",":","param","json_str",":","Serialized","JSON","string",".",":","type",":","str",":","return",":","The","Cohort","object",".",":","rtype",":","Cohort"]
code: def from_json(json_str):
      """Method to read a json string and return a Cohort object.
  
      :param json_str: Serialized JSON string.
      :type: str
      :return: The Cohort object.
      :rtype: Cohort
      """
      json_dict = json.loads(json_str)
      return Cohort._get_cohort_object(json_dict)
  
imports: import json
  from typing import Any, List, Optional
  import numpy
  import pandas
  from raiutils.exceptions import UserConfigValidationException
  from .constants import ClassificationOutcomes, CohortFilterMethods
label_desc: Use image node_id 6 for calling the Cohort obj's underlying member method code with example usage: obj.from_json(json_str) and returns: Cohort