ΪÁ˲âÊÔ¸ü·½±ã£¬Ò»°ãÎÒʹÓà Web API ¶¼»áÉèÖÃÈà Web API ·µ»Ø Json ¸ñʽ¡£ÔÚIEä¯ÀÀÆ÷ÖУ¬µ±»ïͬÔÚµØÖ·ÊäÈë URL ºó IE ä¯ÀÀÆ÷»áµ¯³öÊÇ·ñÐèÒªÏÂÔصÄÌáʾ¡£
ʵ¼ÊÉÏ IE µ¯³öÏÂÔØÌáʾҲûÓÐʲô²»ºÃµÄ£¬µ«ÊÇÓÐʱºòÏëÒªÆȲ»¼°´ýµÄ¿´µ½Json·µ»ØµÄ½á¹ûʱ£¬ÓÖÐèÒª·´¸´µÄÏÂÔØÔÙ´ò¿ª²é¿´£¬Õâ¸öÐÐΪ¾ÍÏÔµÃÈÃÈËÌÖÑáÁË¡£Èç¹ûÄܹ»Ïñ Chrome »ò Firefox ¿ÉÖ±½Ó¿´½á¹û¾ÍºÃÁË¡£
JSON½éÉÜ£ºJSON(JavaScript Object Notation) ÊÇÒ»ÖÖÇáÁ¿¼¶µÄÊý¾Ý½»»»¸ñʽ¡£ Ò×ÓÚÈËÔĶÁºÍ±àд¡£Í¬Ê±Ò²Ò×ÓÚ»úÆ÷½âÎöºÍÉú³É¡£ Ëü»ùÓÚJavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999µÄÒ»¸ö×Ó¼¯¡£ JSON²ÉÓÃÍêÈ«¶ÀÁ¢ÓÚÓïÑÔµÄÎı¾¸ñʽ£¬µ«ÊÇҲʹÓÃÁËÀàËÆÓÚCÓïÑÔ¼Ò×åµÄÏ°¹ß£¨°üÀ¨C, C++, C#, Java, JavaScript, Perl, PythonµÈ£©¡£ ÕâЩÌØÐÔʹJSON³ÉΪÀíÏëµÄÊý¾Ý½»»»ÓïÑÔ¡£
½â¾ö°ì·¨£º½â¾ö°ì·¨Ò²·Ç³£¼òµ¥£¬ÐèÒªÎÒÃÇÔÚ²Ù×÷ϵͳµÄ×¢²á±íÖÐÌí¼Ó¹ØÓÚ JSON µÄ MIME ÀàÐÍÖ§³Ö£¬Äã¿ÉÒÔ½«ÒÔÏÂÄÚÈݱ༳ÉÀ©Õ¹ÃûΪ .reg µÄÎļþ£¨ÎļþÃûËæÒ⣩£¬È»ºóË«»÷Ö´Ðн«¸ÃÎļþµ¼Èë×¢²á±í£º
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json] "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}" "Encoding"=dword:00080000 [HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/json] "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}" "encoding"=dword:00080000ÆäÔÀíÊÇÐÞ¸Ä×¢²á±í£¬½« application/json¡¢text/json Á½ÖÖ Content-Type ¿ªÆôÉèÖõ÷³ÉÓë GIF/PNG/HTML Ò»Ö£¬¸ÄΪֱ½ÓÓÃä¯ÀÀÆ÷´ò¿ª²é¿´¡£
µ¼ÈëÉÏÃæµÄ×¢²á±íÎļþÒÔºó£¬ÔÙʹÓÃIE¿ªÆô¾Í¿ÉÒÔ²»ÐèÒªÏÂÔؼ´¿ÉÏÔʾ json ÁË¡£
ÔÎĵØÖ·£º
¡¡