qcodes/dataset/descriptions/versioning/serialization.py
def to_json_as_version(desc: current.RunDescriber, version: int) -> str:
    """
    Serialize the given RunDescriber to JSON as a RunDescriber of the
    given version. Only to be used in tests and upgraders
    """
    return json.dumps(to_dict_as_version(desc, version))

    Serialize the given RunDescriber to JSON as a RunDescriber of the
    given version. Only to be used in tests and upgraders
    
Serialize the given RunDescriber to JSON as a RunDescriber of the
given version. Only to be used in tests and upgraders
Serialize the given RunDescriber to JSON as a RunDescriber of the given version . Only to be used in tests and upgraders
def to_json_as_version(desc: current.RunDescriber, version: int) -> str:
    return json.dumps(to_dict_as_version(desc, version))
def to_json_as_version ( desc : current . RunDescriber , version : int ) -> str : return json . dumps ( to_dict_as_version ( desc , version ) )
Serialize the given RunDescriber to JSON as a RunDescriber of the
given version.
Serialize the given RunDescriber to JSON as a RunDescriber of the given version .
"""
    Serialize the given RunDescriber to JSON as a RunDescriber of the
    given version. Only to be used in tests and upgraders
    """
desc
current.RunDescriber
version
int