mverleg / pyjson_tricks

Extra features for Python's JSON: comments, order, numpy, pandas, datetimes, and many more! Simple but customizable.
Other
154 stars 23 forks source link

Add range object serialization #96

Closed claydugo closed 1 year ago

claydugo commented 1 year ago

I ran into a case where this would be useful in one of my projects.

The signature is extremely similar to the slice objects signature so its has a very similar encoder and decoder.

I could refactor this and merge the 2 if that would be preferred.

Thanks!

claydugo commented 12 months ago

read the readme and went with numpy.arange