@@ -98,7 +98,32 @@ def read_json(
98
98
nrows : int | None = ...,
99
99
storage_options : StorageOptions = ...,
100
100
dtype_backend : DtypeBackend | NoDefault = ...,
101
- engine : Literal ["pyarrow" ] = "pyarrow" ,
101
+ engine : Literal ["ujson" ] = ...,
102
+ ) -> JsonReader [DataFrame ]: ...
103
+ @overload
104
+ def read_json (
105
+ path_or_buf : FilePath | ReadBuffer [bytes ],
106
+ * ,
107
+ orient : JsonFrameOrient | None = ...,
108
+ typ : Literal ["frame" ] = ...,
109
+ dtype : bool | Mapping [HashableT , DtypeArg ] | None = ...,
110
+ convert_axes : bool | None = ...,
111
+ convert_dates : bool | list [str ] = ...,
112
+ keep_default_dates : bool = ...,
113
+ precise_float : bool = ...,
114
+ date_unit : TimeUnit | None = ...,
115
+ encoding : str | None = ...,
116
+ encoding_errors : (
117
+ Literal ["strict" , "ignore" , "replace" , "backslashreplace" , "surrogateescape" ]
118
+ | None
119
+ ) = ...,
120
+ lines : Literal [True ] = True ,
121
+ chunksize : int ,
122
+ compression : CompressionOptions = ...,
123
+ nrows : int | None = ...,
124
+ storage_options : StorageOptions = ...,
125
+ dtype_backend : DtypeBackend | NoDefault = ...,
126
+ engine : Literal ["pyarrow" ],
102
127
) -> JsonReader [DataFrame ]: ...
103
128
@overload
104
129
def read_json (
@@ -148,7 +173,7 @@ def read_json(
148
173
nrows : int | None = ...,
149
174
storage_options : StorageOptions = ...,
150
175
dtype_backend : DtypeBackend | NoDefault = ...,
151
- engine : Literal ["pyarrow" ] = "pyarrow" ,
176
+ engine : Literal ["pyarrow" ],
152
177
) -> Series : ...
153
178
@overload
154
179
def read_json (
0 commit comments