复杂的JSON和教程 [英] Complex JSON and Tutorials

查看:78
本文介绍了复杂的JSON和教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以向我展示一些复杂的JSON结构和教程,在其中我可以使用javascript在此JSON主题上发挥更大的作用.到目前为止,我已经能够理解JSON,它的基本结构以及如何解析和警告属性.

Can anyone show me some complex JSON structure and tutorials where i can excel more on this JSON topic using javascript. So far i am able to understand JSON, its basic structure and how to parse and alert out properties.

我可以在Google或其他搜索中进行搜索 引擎,但我希望得到您的链接 可以带领我走向正确的专家们 方向比显示的BOT 结果.

I can search in google or other search engines, but i want links from you expert guys who can lead me to right direction than a BOT which displays result.

推荐答案

基础

  • 阅读 json.org 上的所有内容,包括:
    • 标准代码 "https://github.com/douglascrockford/JSON-js" rel ="nofollow noreferrer"> json2.js ,
    • 此页面解释了标准的JavaScript JSON.* APIs
    • (暂时跳过正式的定义,并定期进行修改)
    • Basics

      • Read everything on json.org, including:
        • the code for the standard json2.js,
        • and this page explaining the standard JavaScript JSON.* APIs
        • (Skip the formal definitions for now, and get back to it regularly)
          • JSON, the JSON object, JSON.parse and JSON.stringify
          • Using native JSON
          • Get Started with JSON
          • JSON: What is is, how it works, how to use it
          • Replacing XML with JSON
          • Advanced JSON
          • The JSON saga (Also by Douglas Crockford, creator of JSON and json.org, ECMAScript committee member, and acclaimed writer - see below)
          • Crockford's essays on JavaScript
          • the ECMAScript ECMA-262 standard, 5th edition
          • Crockford's book JavaScript: the Good Parts
          • questions on JSON
          • questions on Advanced JSON
          • and also questions on Advanced JavaScript to polish your skills

          如果您对其他语言有一定的了解,则可以查看一些JSON处理器的实现,并了解是什么使它们比竞争对手更好或更差,请阅读他们的代码,等等.

          If you have some knowledge of other languages, you could look at some JSON processors' implementations and get to know what makes them better or worse than their competitors, read their code, etc...

          例如,对于Java:

          • json-lib
          • Jackson
          • google-gson
          • FlexJSON

          其他语言:请参见 json.org (在页面底部) )以获取大量链接.

          For other languages: see json.org (at the bottom of the page) for tons of links.

          • JSONP Wikipedia Entry
          • BSON Wikipedia Entry
          • ...

          在线查找网络服务,以暴露启用了JSON的终结点以与它们一起玩.为此,请转到 ProgrammableWeb ,或使用任何搜索引擎.

          Look online for webservices exposing JSON-enabled endpoints to play with them. Head over to ProgrammableWeb for that, or use any search engine.

          要进行实验,请使用以下任一方法:

          For experimenting, use either:

          • Google Chrome,然后打开Chrome开发工具(CTRL + SHIFT + J)
          • Firefox,然后安装并打开 Firebug (F12)
          • Internet Explorer并打开调试工具(F12)(或安装 Firebug Lite ),
          • 或者:
            • Google Chrome and open the Chrome Dev Tools (CTRL+SHIFT+J),
            • Firefox and install and open Firebug (F12),
            • Internet Explorer and open the Debug Tools (F12) (or install Firebug Lite),
            • Alternatively:
              • Google Code Playground to play with some of their services (specifically, try that example for an easy JSONP demo with jQuery),
              • jsFiddle lets you experiment with libraries and share snippets.

              实际上,您几乎可以只使用JavaScript控制台进行实验,而无需任何端点,并测试您是否能够创建对象.

              Actually you could very much just use your javascript console to experiment without any end-point and test whether you manage to create objects.

              这篇关于复杂的JSON和教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆