Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature request: save Report.comparisons as JSON

See original GitHub issue


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 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:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

AmenRacommented, Feb 2, 2022

Fixed in 0.1.10. Sorry for the inconvenience.

AmenRacommented, Jan 14, 2022

I added Report.to_dict and I updated ranx on PyPi with these new features.


Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found