@classmethod
    def from_json(klass, json_str):
        result = klass(dcm_meta_ecode, json_str)
        result.check_valid()
        return result
Test merge with replace
dataset/ETHPy150Open moloney/dcmstack/src/dcmstack/dcmmeta.py/DcmMetaExtension.from_json--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/MergeOrganisationsTests.testMergeReplace