class_docstr: DatasetData
docstr: Create an instance of DatasetData from a JSON string
docstr_tok: ["Create","an","instance","of","DatasetData","from","a","JSON","string"]
code: def from_json(cls, json_str: str) -> DatasetData:
      """Create an instance of DatasetData from a JSON string"""
      return cls.from_dict(json.loads(json_str))
  
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import List, Optional
  from pydantic import Extra, BaseModel, Field, StrictInt, StrictStr, conint, conlist, constr, validator
  from lightly.openapi_generated.swagger_client.models.dataset_type import DatasetType
  from lightly.openapi_generated.swagger_client.models.image_type import ImageType
  from lightly.openapi_generated.swagger_client.models.shared_access_type import SharedAccessType
label_desc: Use image node_id 9 for calling the DatasetData obj's underlying member method code with example usage: obj.from_json(cls, json_str) and returns: cls