#jsonpatch

2025-02-02

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

#typeScript #javaScript #JSon #JSonPath #JSonPatch #programming

2024-02-03

Announcing #dotnet 8 and #NativeAOT support in all of the json-everything libraries!!!

blog.json-everything.net/posts

Thanks to Jevan Saks (@jevansaks on GH) and @eiriktsarpalis for their help over the past two weeks putting this together!

#jsonschema #jsonpath #jsonpatch #jsonlogic #jsonpointer #jsone

2022-05-29

Describing JSON Patch operations with OpenAPI

How to describe your JSON Patch endpoints using OpenAPI.

fed.brid.gy/r/https://www.jvt.

Featured image for sharing metadata for article
Felix πŸ‡ΊπŸ‡¦πŸš΄β€β™‚οΈπŸ‡¨πŸ‡¦πŸ‡¬πŸ‡±πŸ‡©πŸ‡°πŸ‡²πŸ‡½πŸ‡΅πŸ‡¦ πŸ‡ͺπŸ‡Ίleobm@norden.social
2022-12-29

JSONDiff is an Elixir implementation of the diffing element of the JSON Patch format, described in RFC 6902

github.com/EddyLane/elixir_jso

#elixir #jsondiff #jsonpatch #json #library

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst