Just started a new project, `betterer-json`. It's like JSON Patch, except it's javascript.

You write your script match like a JSON Patch - use JSONPath to select values to process, each value is sent to a callback, and its result is put back in the JSON document.

This example changes '"format": "datetime"' to '"format": "date-time"' across json document

```
replace('$..format', value => {
if(value === 'datetime')
return 'date-time';
return value
})
```

github.com/python-lapidary/bet

0

If you have a fediverse account, you can quote this note from your own instance. Search https://101010.pl/users/mattesilver/statuses/113936525473160450 on your instance and quote it. (Note that quoting is not supported in Mastodon.)