#3560: cleanup C memoryview API
diff --git a/Modules/_json.c b/Modules/_json.c
index a724f89..47c4a56 100644
--- a/Modules/_json.c
+++ b/Modules/_json.c
@@ -264,7 +264,7 @@
             if (PyBuffer_FillInfo(&info, NULL, &buf[end], next - end, 1, 0) < 0) {
                 goto bail;
             }
-            strchunk = PyMemoryView_FromMemory(&info);
+            strchunk = PyMemoryView_FromBuffer(&info);
             if (strchunk == NULL) {
                 goto bail;
             }