amol- commented on issue #11044:
URL: https://github.com/apache/arrow/issues/11044#issuecomment-911471279
I tried a quick test and it seems to handle correctly `null: ["xyz"]`
```
import tempfile
with tempfile.NamedTemporaryFile(delete=False, mode="w+") as f:
f.write('{"null": ["xyz"], "b": 2.0, "c": 1}\n')
import pyarrow as pa
import pyarrow.json
table = pa.json.read_json(f.name)
print(table.to_pydict())
```
trying with `null` instead of `"null"` does lead to a proper error message
```
pyarrow.lib.ArrowInvalid: JSON parse error: Missing a name for object
member. in row 0
```
If you could provide further details to help reproducing the issue I think
it would be great
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]