class_docstr: Defines the ErrorAnalysisConfig, specifying the parameters to run.
class_docstr_tok: ["Defines","the","ErrorAnalysisConfig",",","specifying","the","parameters","to","run","."]
docstr: Serialize ErrorAnalysisConfig object to json.
  
  :return: The string json representation of the ErrorAnalysisConfig.
  :rtype: str
docstr_tok: ["Serialize","ErrorAnalysisConfig","object","to","json",".",":","return",":","The","string","json","representation","of","the","ErrorAnalysisConfig",".",":","rtype",":","str"]
code: def to_json(self):
      """Serialize ErrorAnalysisConfig object to json.
  
      :return: The string json representation of the ErrorAnalysisConfig.
      :rtype: str
      """
      return json.dumps(self, default=config_json_converter, indent=2)
  
imports: import json
  import warnings
  from pathlib import Path
  from typing import Any, List, Optional
  import jsonschema
  import pandas
  from erroranalysis._internal.constants import metric_to_display_name
  from erroranalysis._internal.error_analyzer import ModelAnalyzer
  from erroranalysis._internal.error_report import as_error_report
  from erroranalysis._internal.error_report import json_converter
  from raiutils.exceptions import UserConfigValidationException
  from raiutils.models import ModelTask
  from responsibleai._config.base_config import BaseConfig
  from responsibleai._interfaces import ErrorAnalysisData
  from responsibleai._internal.constants import ErrorAnalysisManagerKeys
  from responsibleai._internal.constants import FileFormats, ListProperties, ManagerNames
  from responsibleai._tools.shared.state_directory_management import DirectoryManager
  from responsibleai.exceptions import ConfigAndResultMismatchException, DuplicateManagerConfigException
  from responsibleai.managers.base_manager import BaseManager
  from responsibleai.utils import _find_features_having_missing_values, _measure_time
label_desc: Use image node_id 4 for calling the ErrorAnalysisConfig obj's underlying member method code with example usage: obj.to_json() and returns: json