📄 json 入门指南.mht
字号:
=
href=3D"http://www.ibm.com/products/cn/">=E4=BA=A7=E5=93=81</A></TD>
<TD class=3Dmasthead-divider=20
width=3D27> </TD>
<TD><A class=3Dmasthead-mainlink=20
=
href=3D"http://www.ibm.com/servicessolutions/cn/">=E6=9C=8D=E5=8A=A1=E4=B8=
=8E=E8=A7=A3=E5=86=B3=E6=96=B9=E6=A1=88</A></TD>
<TD class=3Dmasthead-divider=20
width=3D27> </TD>
<TD><A class=3Dmasthead-mainlink=20
=
href=3D"http://www.ibm.com/support/cn/">=E6=94=AF=E6=8C=81=E4=B8=8E=E4=B8=
=8B=E8=BD=BD</A></TD>
<TD class=3Dmasthead-divider=20
width=3D27> </TD>
<TD><A class=3Dmasthead-mainlink=20
=
href=3D"http://www.ibm.com/account/cn/">=E4=B8=AA=E6=80=A7=E5=8C=96=E6=9C=
=8D=E5=8A=A1</A></TD>
<TD><SPAN=20
=
class=3Dspacer> </SPAN></TD></TR></TBODY></TABLE><=
/TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!--
<script src=3D"//www.ibm.com/common/v14/pmh.js" language=3D"JavaScript" =
type=3D"text/javascript"></script>
--><!-- end masthead dw liquid --><!--MASTHEAD_END--><!-- CMA ID: 332664 =
--><!-- Site ID: 10 -->
<TABLE id=3Dv14-body-table cellSpacing=3D0 cellPadding=3D0 =
width=3D"100%" border=3D0>
<TBODY>
<TR vAlign=3Dtop><!--LEFTNAV_BEGIN-->
<TD id=3Dnavigation width=3D150>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D150 border=3D0>
<TBODY>
<TR>
<TD class=3Dleft-nav-spacer><A class=3Dleft-nav-overview=20
=
href=3D"http://www.ibm.com/developerworks/cn/"> </A></TD></TR></TBOD=
Y></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D150 border=3D0>
<TBODY>
<TR>
<TD class=3Dleft-nav-overview colSpan=3D2><A =
class=3Dleft-nav-overview=20
=
href=3D"http://www.ibm.com/developerworks/cn/">developerWorks<BR>=E4=B8=AD=
=E5=9B=BD</A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D150 border=3D0>
<TBODY>
<TR>
<TD class=3Dleft-nav-highlight colSpan=3D2><A class=3Dleft-nav =
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#">=E6=9C=AC=E6=
=96=87=E5=86=85=E5=AE=B9=E5=8C=85=E6=8B=AC=EF=BC=9A</A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#N10072">JSON=
=20
=E6=95=B0=E6=8D=AE=E6=A0=BC=E5=BC=8F=E8=A7=A3=E6=9E=90 =
</A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#N1010D">Java=
Script=20
=E5=A4=84=E7=90=86 JSON =E6=95=B0=E6=8D=AE </A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#N1012F">=E6=9C=
=8D=E5=8A=A1=E5=99=A8=E7=AB=AF=E8=BE=93=E5=87=BA=20
JSON =E6=A0=BC=E5=BC=8F=E6=95=B0=E6=8D=AE </A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#N10193">=E5=B0=
=8F=E7=BB=93=20
</A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#download">=E4=
=B8=8B=E8=BD=BD</A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#resources">=E5=
=8F=82=E8=80=83=E8=B5=84=E6=96=99=20
</A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#author">=E5=85=
=B3=E4=BA=8E=E4=BD=9C=E8=80=85</A></TD></TR>
<TR class=3Dleft-nav-child-highlight>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/cl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Dleft-nav-child=20
=
href=3D"http://www.ibm.com/developerworks/cn/web/wa-lo-json/#rate">=E5=AF=
=B9=E6=9C=AC=E6=96=87=E7=9A=84=E8=AF=84=E4=BB=B7</A></TD></TR>
<TR class=3Dleft-nav-last>
<TD width=3D14><IMG class=3Ddisplay-img height=3D1 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" width=3D14></TD>
<TD width=3D136><IMG class=3Ddisplay-img height=3D19 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/left-nav-corner.gif"=20
width=3D136></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D150 border=3D0>
<TBODY>
<TR>
<TD class=3Drelated colSpan=3D2><B =
class=3Drelated>=E7=9B=B8=E5=85=B3=E9=93=BE=E6=8E=A5=EF=BC=9A</B></TD></T=
R>
<TR class=3Drlinks>
<TD><IMG height=3D8 alt=3D""=20
src=3D"http://www.ibm.com/i/v14/t/rl-bullet.gif" =
width=3D2></TD>
<TD><A class=3Drlinks=20
=
href=3D"http://www.ibm.com/developerworks/cn/views/web/articles.jsp">Web =
development =
=E6=8A=80=E6=9C=AF=E6=96=87=E6=A1=A3=E5=BA=93</A></TD></TR><!--START =
RESERVED FOR FUTURE USE INCLUDE FILES--><!-- No content currently =
--><!--END RESERVED FOR FUTURE USE INCLUDE FILES-->
<TR>
<TD width=3D14><IMG class=3Ddisplay-img height=3D1 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" width=3D14></TD>
<TD width=3D136><IMG class=3Ddisplay-img height=3D19 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" =
width=3D136></TD></TR></TBODY></TABLE><!--START RESERVED FOR FUTURE USE =
INCLUDE FILES--><!-- Next Steps Area: Start --><!-- Commented out the =
include call in the dwmaster version of this file to prevent ajax calls
being made during article previews and testing. Live site has =
uncommented copy of this file (jpp) --><!-- Call Next Steps Servlet -->
<SCRIPT language=3DJavaScript type=3Dtext/javascript>
<!--
/*
* ajaxInclude makes a call to the url and render the results in the div =
tag specified in divId
*/
function ajaxInclude(url, divId) {=20
var req =3D newXMLHttpRequest();=20
if (req) {=20
req.onreadystatechange =3D getReadyStateHandler(req,=20
function (result) { =20
var contents =3D document.getElementById(divId); =20
if (result !=3D null && result.length > 0 && contents !=3D =
null) {
contents.innerHTML =3D result; =20
}
});=20
req.open("GET", url, true);
req.send("");
}
}
//-->
</SCRIPT>
<!-- Display Next Steps Result -->
<DIV id=3Dnextsteps></DIV><!-- Initiate Next Steps Call -->
<SCRIPT language=3DJavaScript type=3Dtext/javascript>
<!--=20
=
ajaxInclude("/developerworks/niagara/jsp/getNiagaraContent.jsp?url=3D"+wi=
ndow.location.href,"nextsteps");
//-->
</SCRIPT>
<!-- Next Steps Area: End --><!--END RESERVED FOR FUTURE USE INCLUDE =
FILES--></TD><!--LEFTNAV_END-->
<TD width=3D"100%">
<TABLE id=3Dcontent-table cellSpacing=3D0 cellPadding=3D0 =
width=3D"100%"=20
border=3D0><TBODY>
<TR vAlign=3Dtop>
<TD width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
border=3D0>
<TBODY>
<TR>
<TD><A name=3Dmain><IMG height=3D1 =
alt=3D=E8=B7=B3=E8=BD=AC=E5=88=B0=E4=B8=BB=E8=A6=81=E5=86=85=E5=AE=B9=20
src=3D"http://www.ibm.com/i/c.gif" width=3D592=20
border=3D0></A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" =
border=3D0>
<TBODY>
<TR vAlign=3Dtop>
<TD width=3D10 height=3D18><IMG height=3D18 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" width=3D10></TD>
<TD width=3D"100%"><IMG height=3D6 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" width=3D1><BR><A =
class=3Dbctl=20
=
href=3D"http://www.ibm.com/developerworks/cn/">developerWorks=20
=E4=B8=AD=E5=9B=BD</A><SPAN =
class=3Dbct> > </SPAN><A=20
class=3Dbctl=20
href=3D"http://www.ibm.com/developerworks/cn/web/">Web =
development</A><SPAN =
class=3Dbct> ></SPAN><IMG=20
height=3D1 alt=3D"" src=3D"http://www.ibm.com/i/c.gif" =
width=3D1><BR>
<H1>JSON =E5=85=A5=E9=97=A8=E6=8C=87=E5=8D=97 =
</H1><IMG class=3Ddisplay-img height=3D6 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" width=3D1></TD>
<TD class=3Dno-print width=3D192><IMG height=3D18 =
alt=3DdeveloperWorks=20
src=3D"http://www.ibm.com/developerworks/i/dw.gif"=20
=
width=3D192></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
<TBODY>
<TR vAlign=3Dtop>
<TD width=3D10><IMG height=3D1 alt=3D"" =
src=3D"http://www.ibm.com/i/c.gif"=20
width=3D10></TD>
<TD width=3D"100%">
<TABLE class=3Dno-print cellSpacing=3D0 cellPadding=3D0 =
width=3D160=20
align=3Dright border=3D0>
<TBODY>
<TR>
<TD width=3D10><IMG height=3D1 alt=3D""=20
src=3D"http://www.ibm.com/i/c.gif" width=3D10></TD>
<TD>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D150 =
border=3D0>
<TBODY>
<TR>
<TD =
class=3Dv14-header-1-small>=E6=96=87=E6=A1=A3=E9=80=89=E9=A1=B9</TD></TR>=
</TBODY></TABLE>
<TABLE class=3Dv14-gray-table-border cellSpacing=3D0 =
cellPadding=3D0=20
border=3D0>
<TBODY>
<TR>
<TD class=3Dno-padding width=3D150>
<TABLE cellSpacing=3D0 cellPadding=3D0 =
width=3D143 border=3D0>
<SCRIPT language=3DJavaScript =
type=3Dtext/javascript>=0A=
<!--=0A=
document.write('<tr valign=3D"top"><td width=3D"8"><img =
src=3D"//www.ibm.com/i/c.gif" width=3D"8" height=3D"1" =
alt=3D""/></td><td width=3D"16"><img =
alt=3D"=E5=B0=86=E6=89=93=E5=8D=B0=E6=9C=BA=E7=9A=84=E7=89=88=E9=9D=A2=E8=
=AE=BE=E7=BD=AE=E6=88=90=E6=A8=AA=E5=90=91=E6=89=93=E5=8D=B0=E6=A8=A1=E5=BC=
=8F" height=3D"16" src=3D"//www.ibm.com/i/v14/icons/printer.gif" =
width=3D"16" vspace=3D"3" /></td><td width=3D"122"><p><b><a =
class=3D"smallplainlink" =
href=3D"javascript:print()">=E6=89=93=E5=8D=B0=E6=9C=AC=E9=A1=B5</a></b><=
/p></td></tr>');=0A=
//-->=0A=
</SCRIPT>
<NOSCRIPT></NOSCRIPT>
<FORM name=3Demail=20
=
action=3Dhttps://www.ibm.com/developerworks/secure/email-it.jsp><INPUT=20
type=3Dhidden=20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -