{
_TestParameters(profile_name='legacy', value=None): _TestOutput(payload='null', round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value=None, tags=(Deprecated(msg='x'),)): _TestOutput(payload='null', round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value=True): _TestOutput(payload='true', round_trip=True, tags=()),
_TestParameters(profile_name='legacy', value=True, tags=(Deprecated(msg='x'),)): _TestOutput(payload='true', round_trip=True, tags=()),
_TestParameters(profile_name='legacy', value=1): _TestOutput(payload='1', round_trip=1, tags=()),
_TestParameters(profile_name='legacy', value=1, tags=(Deprecated(msg='x'),)): _TestOutput(payload='1', round_trip=1, tags=()),
_TestParameters(profile_name='legacy', value=1.1): _TestOutput(payload='1.1', round_trip=1.1, tags=()),
_TestParameters(profile_name='legacy', value=1.1, tags=(Deprecated(msg='x'),)): _TestOutput(payload='1.1', round_trip=1.1, tags=()),
_TestParameters(profile_name='legacy', value='hi'): _TestOutput(payload='{"__ansible_unsafe": "hi"}', round_trip='hi', tags=()),
_TestParameters(profile_name='legacy', value='hi', tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"__ansible_unsafe": "hi"}', round_trip='hi', tags=()),
_TestParameters(profile_name='legacy', value='汉语'): _TestOutput(payload='{"__ansible_unsafe": "\\u6c49\\u8bed"}', round_trip='汉语', tags=()),
_TestParameters(profile_name='legacy', value='汉语', tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"__ansible_unsafe": "\\u6c49\\u8bed"}', round_trip='汉语', tags=()),
_TestParameters(profile_name='legacy', value=b'hi'): _TestOutput(payload=TypeError("Object of type 'bytes' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value=b'hi', tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Object of type '_AnsibleTaggedBytes' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc)): _TestOutput(payload='"2024-01-02T03:04:05.000006+00:00"', round_trip='2024-01-02T03:04:05.000006+00:00', tags=()),
_TestParameters(profile_name='legacy', value=datetime.datetime(2024, 1, 2, 3, 4, 5, 6, fold=1, tzinfo=datetime.timezone.utc), tags=(Deprecated(msg='x'),)): _TestOutput(payload='"2024-01-02T03:04:05.000006+00:00"', round_trip='2024-01-02T03:04:05.000006+00:00', tags=()),
_TestParameters(profile_name='legacy', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1)): _TestOutput(payload='"01:02:03.000004+00:00"', round_trip='01:02:03.000004+00:00', tags=()),
_TestParameters(profile_name='legacy', value=datetime.time(1, 2, 3, 4, tzinfo=datetime.timezone.utc, fold=1), tags=(Deprecated(msg='x'),)): _TestOutput(payload='"01:02:03.000004+00:00"', round_trip='01:02:03.000004+00:00', tags=()),
_TestParameters(profile_name='legacy', value=datetime.date(2024, 1, 2)): _TestOutput(payload='"2024-01-02"', round_trip='2024-01-02', tags=()),
_TestParameters(profile_name='legacy', value=datetime.date(2024, 1, 2), tags=(Deprecated(msg='x'),)): _TestOutput(payload='"2024-01-02"', round_trip='2024-01-02', tags=()),
_TestParameters(profile_name='legacy', value=(1,)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=(1,), tags=(Deprecated(msg='x'),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=[1]): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=[1], tags=(Deprecated(msg='x'),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=[1], lazy=True): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=[1], tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=CustomSequence([1])): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value=CustomSequence([1]), tags=(Deprecated(msg='x'),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value='hello'): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
_TestParameters(profile_name='legacy', value='hello', tags=(Deprecated(msg='x'),)): _TestOutput(payload='"hello"', round_trip='hello', tags=()),
_TestParameters(profile_name='legacy', value=42): _TestOutput(payload='42', round_trip=42, tags=()),
_TestParameters(profile_name='legacy', value=42, tags=(Deprecated(msg='x'),)): _TestOutput(payload='42', round_trip=42, tags=()),
_TestParameters(profile_name='legacy', value=42.0): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
_TestParameters(profile_name='legacy', value=42.0, tags=(Deprecated(msg='x'),)): _TestOutput(payload='42.0', round_trip=42.0, tags=()),
_TestParameters(profile_name='legacy', value={1}): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value={1}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='[1]', round_trip=[1], tags=()),
_TestParameters(profile_name='legacy', value={'a': 1}): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='legacy', value={'a': 1}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='legacy', value={'a': 1}, lazy=True): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='legacy', value={'a': 1}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='legacy', value=CustomMapping({'a': 1})): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='legacy', value=CustomMapping({'a': 1}), tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"a": 1}', round_trip={'a': 1}, tags=()),
_TestParameters(profile_name='legacy', value={(1, 2): 'three'}): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={(1, 2): 'three'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={(1, 2): 'three'}, lazy=True): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={(1, 2): 'three'}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload=TypeError("Key of type 'tuple' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={frozenset({1, 2}): 'three'}): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={frozenset({1, 2}): 'three'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={frozenset({1, 2}): 'three'}, lazy=True): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={frozenset({1, 2}): 'three'}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload=TypeError("Key of type 'frozenset' is not JSON serializable by the 'legacy' profile."), round_trip=None, tags=()),
_TestParameters(profile_name='legacy', value={1: 'two'}): _TestOutput(payload='{"1": {"__ansible_unsafe": "two"}}', round_trip={'1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"1": {"__ansible_unsafe": "two"}}', round_trip={'1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1: 'two'}, lazy=True): _TestOutput(payload='{"1": {"__ansible_unsafe": "two"}}', round_trip={'1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1: 'two'}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload='{"1": {"__ansible_unsafe": "two"}}', round_trip={'1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1.1: 'two'}): _TestOutput(payload='{"1.1": {"__ansible_unsafe": "two"}}', round_trip={'1.1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1.1: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"1.1": {"__ansible_unsafe": "two"}}', round_trip={'1.1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1.1: 'two'}, lazy=True): _TestOutput(payload='{"1.1": {"__ansible_unsafe": "two"}}', round_trip={'1.1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={1.1: 'two'}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload='{"1.1": {"__ansible_unsafe": "two"}}', round_trip={'1.1': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={True: 'two'}): _TestOutput(payload='{"true": {"__ansible_unsafe": "two"}}', round_trip={'true': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={True: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"true": {"__ansible_unsafe": "two"}}', round_trip={'true': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={True: 'two'}, lazy=True): _TestOutput(payload='{"true": {"__ansible_unsafe": "two"}}', round_trip={'true': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={True: 'two'}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload='{"true": {"__ansible_unsafe": "two"}}', round_trip={'true': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={None: 'two'}): _TestOutput(payload='{"null": {"__ansible_unsafe": "two"}}', round_trip={'null': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={None: 'two'}, tags=(Deprecated(msg='x'),)): _TestOutput(payload='{"null": {"__ansible_unsafe": "two"}}', round_trip={'null': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={None: 'two'}, lazy=True): _TestOutput(payload='{"null": {"__ansible_unsafe": "two"}}', round_trip={'null': 'two'}, tags=()),
_TestParameters(profile_name='legacy', value={None: 'two'}, tags=(Deprecated(msg='x'),), lazy=True): _TestOutput(payload='{"null": {"__ansible_unsafe": "two"}}', round_trip={'null': 'two'}, tags=()),
}
