yudai / gojsondiff

Go JSON Diff
Other
535 stars 81 forks source link

Store diff and apply later [feature request] #13

Closed riaan53 closed 7 years ago

riaan53 commented 7 years ago

Hi,

I would like to store the diff in a database (map[string]interface{} output from FormatAsJson) and apply it later. It does not look like its currently possible. Looks like we need n formatFromJson formatter and then n applyJson patch method?

Thank you, Riaan

riaan53 commented 7 years ago

Sorry I see that it is supported! thx 👍