Answer the question
In order to leave comments, you need to log in
Version control of JSON data?
So far, a simple scheme comes to mind:
do a deep scan of the object, look for changes and write them to a similar object, but without keys, the values for which have not changed. All this can be stored, for example, in PostgreSQL (would it be better to store everything as a key-value, the same jsonb in Postgresql, and not as a string - then a non-relational database would be better?). But all this (search for differences, commits, data merging) will have to be implemented manually.
Are there ready made solutions?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question