serpy icon indicating copy to clipboard operation
serpy copied to clipboard

ridiculously fast object serialization

Results 25 serpy issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to use Serpy in my project. I have a very simple userprofile model that I'm testing with Serpy, which I have pasted below. I've also included two...

Added a datetime field for serializing Datetime objects to ISO8601 formatted date & times

Running the tests with `coverage` on TravisCI was giving the following error: _WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for...

First, Nice library! I'm integrating serpy with some projects mine, and I need to remove serpy from [mypy](http://mypy-lang.org/) type check because serpy have not any type information. Once serpy supports...

Is there a way to get these to work? I've had ago but it doesn't seem to like them being treated as JSON fields. I get the following message: "Object...

- Added support for read-only fields - Renamed `.data` to `.representation` (and added `.internal_value`) for better clarity - Renamed `.to_value` to `.to_representation` (and added `to_internal_value`) for better clarity TBD update...

In this PR I've added exception hijacking for extra info (#46), also error catching for MethodField (#73). I've ran tests on 3.6 3.7 and 3.8 and worked as intended. Hope...

I think there should be a way to stop serialization of a MethodField. A simple approach would be catching the KeyError and AttributeError on MethodField serialization and decide if the...

If pulled, this would extend serpy with the ability to accept a `Meta` class inside the custom serializer class. The syntax for this class is heavily borrowed from DRF's ModelSerializer,...