79733326

Date: 2025-08-12 14:34:04
Score: 3
Natty:
Report link

One way to avoid having to escape all the curly brackets in your JSON might be to use the older-style Python string formatting...?

"""
{
   'ultimate': 'The %(foo)s is %(bar)s'
}
""" % {'foo':'answer', 'bar':42}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Quentin Stafford-Fraser