diff --git a/docs/source/user-guide/io/json.rst b/docs/source/user-guide/io/json.rst index 5949a0380..1ee065c44 100644 --- a/docs/source/user-guide/io/json.rst +++ b/docs/source/user-guide/io/json.rst @@ -26,4 +26,4 @@ When it comes to reading a JSON file, using :meth:`.SessionContext.read_json` is from datafusion import SessionContext ctx = SessionContext() - df = ctx.read_avro("file.json") \ No newline at end of file + df = ctx.read_json("file.json")