code: def test_success_trial_split_to_json(self):
      trial_split = self._given_success_trial_validation_split(
          self.trial
      )
      trial_json = to_json(trial_split._dataclass)
  
      self._then_success_trial_split_json_is_valid(
          json.loads(trial_json)
      )
  
imports: import copy
  import datetime
  import json
  from neuraxle.base import TrialStatus
  from neuraxle.hyperparams.space import HyperparameterSamples
  from neuraxle.logging.logging import LOGGING_DATETIME_STR_FORMAT
  from neuraxle.metaopt.context import AutoMLContext
  from neuraxle.metaopt.data.aggregates import MetricResults, Round, Trial, TrialSplit
  from neuraxle.metaopt.data.vanilla import ClientDataclass, MetricResultsDataclass, RoundDataclass, ScopedLocation, TrialDataclass, to_json
  from testing_neuraxle.metaopt.test_automl_dataclasses import SOME_FULL_SCOPED_LOCATION, SOME_ROOT_DATACLASS, SOME_TRIAL_DATACLASS
label_desc: Use image node_id 6 for calling the TestTrials obj's underlying member method code with example usage: obj.test_success_trial_split_to_json() without return types