4 ms·
JSON is a language agnostic format that is widely supported, so one could read/parse the metadata from virtually any language. This is much more flexible and p
by freedomben 9y ago
JSON is a language agnostic format that is widely supported, so one could read/parse the metadata from virtually any language. This is much more flexible and powerful than a specific binary format. It may also make debugging a lot easier since it is human readable.
I don't know if that's the reason they chose JSON, but that's what I would think about IIWM.
- wyager 9y ago> so one could read/parse the metadata from virtually any language. This isn’t a use case for file system metadata. It only makes sense internally anyway. People interact with filesystem metadata through standardized APIs, not metadata dumps. > It may also make debugging a lot easier since it is human readable. It’s also basically guaranteed to introduce a ton of bugs; parsing and generating JSON is orders of magnitude more complicated than generating and reading an unambiguous tagged binary format.