ramonhagenaars / jsons

🐍 A Python lib for (de)serializing Python objects to/from JSON
https://jsons.readthedocs.io
MIT License
288 stars 40 forks source link

Add pathlib.Path (de)serialization and tests. #108

Closed alexmirrington closed 4 years ago

alexmirrington commented 4 years ago

Resolve #107

codecov-commenter commented 4 years ago

Codecov Report

Merging #108 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   99.41%   99.42%           
=======================================
  Files          55       57    +2     
  Lines        1362     1385   +23     
=======================================
+ Hits         1354     1377   +23     
  Misses          8        8           
Impacted Files Coverage Ξ”
jsons/__init__.py 100.00% <100.00%> (ΓΈ)
jsons/deserializers/__init__.py 100.00% <100.00%> (ΓΈ)
jsons/deserializers/default_path.py 100.00% <100.00%> (ΓΈ)
jsons/serializers/__init__.py 100.00% <100.00%> (ΓΈ)
jsons/serializers/default_path.py 100.00% <100.00%> (ΓΈ)
jsons/deserializers/default_dict.py 100.00% <0.00%> (ΓΈ)
jsons/serializers/default_object.py 98.44% <0.00%> (ΓΈ)
jsons/deserializers/default_tuple.py 100.00% <0.00%> (ΓΈ)
jsons/deserializers/default_nonetype.py 100.00% <0.00%> (ΓΈ)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update e335fd5...5b63280. Read the comment docs.

ramonhagenaars commented 4 years ago

Thank you @alexmirrington! This will be integrated into the next 1.3.0 release.