feature request: save Report.comparisons as JSON
See original GitHub issueHi,
It’d be nice to be able to save a Report comparisons as a JSON file. However, since it uses frozenset as keys, it is not JSON serializable.
Maybe you could add a method in https://github.com/AmenRa/ranx/blob/master/ranx/frozenset_dict.py to convert the _map
to a JSON serializable dict, i.e. with str
keys?
The str
keys could be converted from the frozenset like: ', '.join(frozenset({'foo', 'bar'}))
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Allow JSON and HTML output at the same time. · Issue #375 ...
Feature Request : Allow JSON and HTML output at the same time. #375 ... Build and analyze; Save report to temp folder; Compare...
Read more >Compare two JSON responses with Postman - YouTube
If you ever find yourself in the need to compare two JSON responses and to ensure they stay the same, Postman can help....
Read more >SOAP vs REST vs JSON - a 2023 comparison · Raygun Blog
We compare SOAP vs REST to find out which is really better, understand the differences between the two approaches and the role of...
Read more >JSON Editor Online: JSON editor, JSON formatter, query JSON
JSON Editor Online is a web-based tool to view, edit, format, repair, compare, query, transform, validate, and share your JSON data.
Read more >An Introduction to JSON - DigitalOcean
Comparing JSON to XML. XML, or eXtensible Markup Language, is a way to store accessible data that can be read by both humans...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in
0.1.10
. Sorry for the inconvenience.I added
Report.to_dict
andReport.save
. I updatedranx
on PyPi with these new features.Closing.