def METHOD_NAME():
    ser = JSONSerializer()
    for np_type in (
        np.int_,
        np.int8,
        np.int16,
        np.int32,
        np.int64,
    ):
        assert ser.dumps({"d": np_type(-1)}) == b'{"d":-1}'
    for np_type in (
        np.uint8,
        np.uint16,
        np.uint32,
        np.uint64,
    ):
        assert ser.dumps({"d": np_type(1)}) == b'{"d":1}'