Comments (4)
Thanks for reporting!
Seems to be a problem with comment parsing.
You can use ignore_comments=False
as a workaround while I look into it (if you don't have comments, of course).
from pyjson_tricks.
I think I found a fix to the regex! It'll not the prettiest part of the code, but works in all the tests including the new one for your report. Might have to look into performance (#2) at some point, not sure I'd have to write it in Rust or something...
Thanks for the report, glad this problem is gone!
from pyjson_tricks.
I'll close, please reopen if any problems persist.
from pyjson_tricks.
Awesome! Thanks so much for your quick response on this and for you great work on this library. Cheers.
from pyjson_tricks.
Related Issues (20)
- Python 3.7 support HOT 2
- does not preserve object array shapes when they contain numpy arrays HOT 2
- Pandas DeprecationWarning: .ix is deprecated HOT 2
- Bug: JSONDecodeError with valid string HOT 8
- Please a __version__ variable to __init__.py HOT 9
- Tests fail assert 'ExceptionInfo' without code changes HOT 1
- JSON tricks cannot dump nan and infinity HOT 2
- Decode fail for numpy arrays with dtype=object HOT 1
- dump returns a byte value, is this normal? HOT 4
- Can't load a dumped object of class scipy.optimize.OptimizeResult HOT 6
- Serializing NaN HOT 2
- Pandas ix is deprecated since pd.__version__ > 1.0 HOT 1
- Use compressed numpy format by default in compressed mode (next major release) HOT 1
- Make `ignore_comments` not default (next major release) HOT 2
- Bug: Numpy Array with shape (0,N) not decoded correctly. HOT 1
- Allow `cls=None` in `dump`, `dumps`, `load` and `loads` HOT 2
- TypeError in Python 3.9 due to removal of encoding kwarg from json.loads HOT 5
- Add support for encoding/decoding bytestrings HOT 4
- attrs class instances that use __weakref__ cannot be decoded HOT 3
- Test failures on s390x (big endian) architecture HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyjson_tricks.