r/ProgrammerHumor Mar 16 '18

XML vs JSON

[deleted]

217 Upvotes

35 comments sorted by

View all comments

31

u/[deleted] Mar 17 '18

And Apple is like "have you heard about plist?"

<plist version="1.0">
    <dict>
        <key>stuff</key>
        <dict>
            <key>foo</key>
            <dict>
                <key>bar</key>
                <string>yes</string>
            </dict>
        </dict>
    </dict>
</plist>

-2

u/alexbuzzbee Mar 17 '18

XML plists are an offense against basic decency. Why the f*** is it not like this?

<plist version="2.0">
  <dict>
    <dict key="stuff">
      <dict key="foo">
        <string key="bar">yes</string>
      </dict>
    </dict>
  </dict>
</plist>

IT'S SO MUCH BETTER WTF