Upgrade to Pro — share decks privately, control downloads, hide ads and more …

【Data】我所碰到的 JSON

Richard Kao
September 23, 2016

【Data】我所碰到的 JSON

說說自己什麼時候遇到 JSON 格式,
JSON 是什麼?
為什麼選擇使用 JSON?

#實習 #公司分享會 #Swift

Richard Kao

September 23, 2016
Tweet

More Decks by Richard Kao

Other Decks in Technology

Transcript

  1. 誰是 JSON︖ Ы˸މணࠇ٫̣+BTPO෗k፹d˼̣%PVHMBT$SPDLGPSE • JSON is a lightweight data-interchange format

    • JSON is language independent *** • JSON is easy to understand JSON uses JavaScript syntax, but the JSON format is text only, just like XML. Text can be read and used as a data format by any programming language.
  2. JSON V.S. XML Νุᘩنd͂࿁̨ٙᐼࠅࣅԸˢɓˢ • Self describing • Hierarchical •

    Can be parsed and used by lots of programming languages • JSON doesn't use end tag • JSON is shorter • JSON is quicker to read and write • JSON can use arrays 共同點 不同點 XML has to be parsed with an XML parser. JSON can be parsed by a standard JavaScript function.