79399185

Date: 2025-01-30 08:11:31
Score: 0.5
Natty:
Report link

This can also be done with recursive descent operator:

(..|strings) |= fromjson? //.

But it will also transform strings like "123" to numbers. To to preserve numeric strings use this one:

(..|strings|tonumber? //.|strings) |= fromjson? //.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JanB