JSON ﻞﺑﺎﻘﻣ ﺭﺩ XML


فهرست مطالب

    نمایش فهرست مطالب


.ﺪﻧﻮﺷ ﻩﺩﺎﻔﺘﺳﺍ ﺭﻭﺮﺳ ﺏﻭ ﮏﯾ ﺯﺍ ﺎﻫ ﻩﺩﺍﺩ ﺖﻓﺎﯾﺭﺩ ﯼﺍﺮﺑ ﺪﻨﻧﺍﻮﺗ ﯽﻣ XML ﻭ JSON ﻭﺩ ﺮﻫ


:ﺪﻨﻨﮐﯽﻣ ﻒﯾﺮﻌﺗ ﺪﻨﻣﺭﺎﮐ 3 ﺯﺍ ﯼﺍﻪﯾﺍﺭﺁ ﺎﺑ ﺍﺭ ﻥﺎﻨﮐﺭﺎﮐ ءﯽﺷ ﻭﺩ ﺮﻫ ﺮﯾﺯ XML ﻭ JSON ﯼﺎ

JSON ﻝﺎﺜﻣ

{"employees":[
  { "firstName":"John", "lastName":"Doe" },
  { "firstName":"Anna", "lastName":"Smith" },
  { "firstName":"Peter", "lastName":"Jones" }
]}

XML ﻝﺎﺜﻣ

<employees>
  <employee>
    <firstName>John</firstName> <lastName>Doe</lastName>
  </employee>
  <employee>
      <firstName>Anna</firstName> <lastName>Smith</lastName>
    </employee>
  <employee>
      <firstName>Peter</firstName> <lastName>Jones</lastName>
    </employee>
</employees>

JSON ﺪﻨﻧﺎﻣ XML ﺍﺮﯾﺯ ﺖﺳﺍ

  • JSON ﻭ XML (ﻥﺎﺴﻧﺍ ﻂﺳﻮﺗ ﻥﺪﻧﺍﻮﺧ ﻞﺑﺎﻗ) ﺪﻨﺘﺴﻫ "ﻩﺪﻨﻨﮐ ﻒﯿﺻﻮﺗ ﺩﻮﺧ" ﻭﺩ ﺮﻫ

  • (ﺮﯾﺩﺎﻘﻣ ﻥﻭﺭﺩ ﺮﯾﺩﺎﻘﻣ) ﺪﻨﺘﺴﻫ ﯽﺒﺗﺍﺮﻣ ﻪﻠﺴﻠﺳ XML ﻭ JSON ﻭﺩ ﺮﻫ

  • ﺪﻧﻮﺷ ﻞﯿﻠﺤﺗ ﻭ ﻪﯾﺰﺠﺗ ﯽﺴﯾﻮﻧ ﻪﻣﺎﻧﺮﺑ ﯼﺎﻫ ﻥﺎﺑﺯ ﺯﺍ ﯼﺭﺎﯿﺴﺑ ﻂﺳﻮﺗ ﺪﻨﻧﺍﻮﺗ ﯽﻣ XML ﻭ JSON ﻭﺩ ﺮﻫ

  • ﺩﺮﮐ ﯽﺸﮐﺍﻭ XMLHttpRequest ﮏﯾ ﺎﺑ ﻥﺍﻮﺗ ﯽﻣ ﺍﺭ XML ﻭ JSON ﻭﺩ ﺮﻫ


JSON ﻑﻼﺧ ﺮﺑ XML ﺍﺮﯾﺯ ﺖﺳﺍ

  • JSON ﺪﻨﮐ ﯽﻤﻧ ﻩﺩﺎﻔﺘﺳﺍ ﻥﺎﯾﺎﭘ ﮓﺗ ﺯﺍ

  • JSON ﺖﺳﺍ ﺮﺘﻫﺎﺗﻮﮐ

  • JSON ﺖﺳﺍ ﺮﺘﻌﯾﺮﺳ ﻦﺘﺷﻮﻧ ﻭ ﻥﺪﻧﺍﻮﺧ ﺭﺩ

  • JSON ﺪﻨﮐ ﻩﺩﺎﻔﺘﺳﺍ ﺎﻫ ﻪﯾﺍﺭﺁ ﺯﺍ ﺪﻧﺍﻮﺗ ﯽﻣ

:ﺖﺳﺍ ﻦﯾﺍ ﺕﻭﺎﻔﺗ ﻦﯾﺮﺘﮔﺭﺰﺑ

XML ﻩﺪﻨﻨﮐ ﻪﯾﺰﺠﺗ ﺎﺑ ﺪﯾﺎﺑ XML ﺩﻮﺷ ﻪﯾﺰﺠﺗ. JSON ﺎﺑ ﻥﺍﻮﺗ ﯽﻣ ﺍﺭ a ﺩﺮﮐ ﻪﯾﺰﺠﺗ


؟ﺖﺳﺍ XML ﺯﺍ ﺮﺘﻬﺑ JSON ﺍﺮﭼ


.ﺖﺳﺍ JSON ﺯﺍ ﺮﺗﺭﺍﻮﺷﺩ ﺭﺎﯿﺴﺑ XML ﻪﯾﺰﺠﺗ

:ﺖﺳﺍ XML ﺯﺍ ﺮﺗ ﺖﺣﺍﺭ ﻭ ﺮﺘﻌﯾﺮﺳ AJAX، JSON ﯼﺎﻫ ﻪﻣﺎﻧﺮﺑ ﯼﺍﺮﺑ

XML ﺯﺍ ﻩﺩﺎﻔﺘﺳﺍ ﺎﺑ

  • ﺪﯿﻨﮐ ﯽﺸﮐﺍﻭ XML ﺪﻨﺳ ﮏﯾ

  • ﺪﯿﻨﮐ ﻩﺩﺎﻔﺘﺳﺍ ﺪﻨﺳ ﻥﺩﺯ ﻪﻘﻠﺣ ﯼﺍﺮﺑ XML DOM ﺯﺍ

  • ﺪﯿﻨﮐ ﻩﺮﯿﺧﺫ ﺎﻫﺮﯿﻐﺘﻣ ﺭﺩ ﻭ ﻩﺩﺮﮐ ﺝﺍﺮﺨﺘﺳﺍ ﺍﺭ ﺮﯾﺩﺎﻘﻣ

JSON ﺯﺍ ﻩﺩﺎﻔﺘﺳﺍ ﺎﺑ

  • ﺪﯿﻨﮐ ﯽﺸﮐﺍﻭ JSON ﻪﺘﺷﺭ ﮏﯾ

  • JSON. ﻪﺘﺷﺭ JSON ﺪﯿﻨﮐ ﻪﯾﺰﺠﺗ ﺍﺭ