python-json-logger icon indicating copy to clipboard operation
python-json-logger copied to clipboard

Any way to replace double quotes with single quotes instead of quote escaping?

Open cjappl opened this issue 2 years ago • 0 comments

I'm wondering if there is a way to output strings substituted with single quotes:

{ ... "foo": "Foo(confidence_reason='MIL player's names are longer than MIN by 13.32%' confidence=NONE)" }

Instead of the escaped quotes (which is what happens currently:

{ ... "foo": "Foo(confidence_reason="MIL player's names are longer than MIN by 13.32%", confidence=NONE)" }

Thanks for the lovely library, use it daily

cjappl avatar Nov 16 '23 18:11 cjappl