Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Storage format for serialized data #619
Currently, we store serialized data as they are, i.e., serialized. For example, this is how we store the
This was simple to implement but degrades the data inside serialized arrays / objects to something that cannot easily be ignored (#607), diffed, will cause merge conflicts, etc. WordPress, and especially some plugins, heavily use serialized data so we really need to support this better.
One initial idea is to convert the serialized data into some INI subset that would be hierarchical and friendly to diffing. For example, the above could be stored as something like:
If the first index contained an object with properties
Etc. This is pseudocode, I haven't put much thought into the format yet.