code: def test_cohort_serialization_deserialization_in_range_method(self):
      cohort_filter_1 = CohortFilter(
          method=CohortFilterMethods.METHOD_RANGE,
          arg=[65.0, 70.0],
          column="age",
      )
      cohort_1 = Cohort(name="Cohort New")
      cohort_1.add_cohort_filter(cohort_filter_1)
  
      json_str = cohort_1.to_json()
      assert "Cohort New" in json_str
      assert CohortFilterMethods.METHOD_RANGE in json_str
      assert "65.0" in json_str
      assert "70.0" in json_str
      assert "age" in json_str
  
      cohort_1_new = Cohort.from_json(json_str)
      assert cohort_1_new.name == cohort_1.name
      assert len(cohort_1_new.cohort_filter_list) == len(
          cohort_1.cohort_filter_list
      )
      assert (
          cohort_1_new.cohort_filter_list[0].method
          == cohort_1.cohort_filter_list[0].method
      )
  
imports: import json
  import pandas
  import pytest
  from raiutils.cohort import ClassificationOutcomes, Cohort, CohortFilter, CohortFilterMethods, cohort_filter_json_converter
  from raiutils.exceptions import UserConfigValidationException
label_desc: Use image node_id 4 for calling the TestCohort obj's underlying member method code with example usage: obj.test_cohort_serialization_deserialization_in_range_method() without return types