blob: d249949633fd7ac583d053cdd16fb7238710d791 [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p>该示例说明如何要求从 JSON 格式的 REST API 返回数据,并针对 Yahoo Image Search 和 Google Image Search REST API 分析数据。JSON (JavaScript Object Notation) 是一种轻量级的数据交换格式,作为 XML 的替代,用于将整个网络中的数据序列化。JSON 在 Flex 中使用 as3corelib.swc 库进行处理,该库可从<a href="http://code.google.com/p/as3corelib/">此处</a>获得。仅需将该 swc 放入项目的 libs 目录中,就可以使用与此处所示的示例类似的代码。as3corelib.swc 也可以从为此示例下载的压缩源代码中找到。
</p>
</body>
</html>