Re:Unlocking the Power of JSON Patch
by DeathArrow on Saturday October 19, 2024 @03:52AM
(#41886351)
We use MongoDB for data storage, so using JSON patch in the PATCH endpoints feels very natural. Just fetch the Mongo document and apply patch. Kind of slow, though.
There is https://github.com/kofrasa/mingo for in-memory objects
Does anyone know if it’s possible to use that update language on local files, without having a full mongodb running?
https://www.mongodb.com/docs/manual/reference/operator/updat...