def test_json_medium_complex_objects(name, serialize, deserialize, benchmark):
    print("\n256 Medium Complex objects:")
    ser_data, des_data = benchmark(run_client_test,
                                   name, serialize, deserialize,
                                   data=medium_complex,
                                   iterations=50000,
                                   )
    msg = "%-11s serialize: %0.3f  deserialize: %0.3f  total: %0.3f" % (
        name, ser_data, des_data, ser_data + des_data
    )

    print(msg)