What is JSON ?
来源:互联网 发布:hbo美剧推荐 知乎 编辑:程序博客网 时间:2024/05/16 06:08
What is JSON ?
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.
These properties make JSON an ideal data-interchange language.
Welcome to Json-lib
JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans.
It is based on the work by Douglas Crockford in http://www.json.org/java.
The following tables sumarizes the types conversion between java and javascript:
JSON Java
The
function
type from javascript is not part of the JSON format "officially" (please refer to http://www.json.org) but it is supported as well.
Json-lib comes in two flavors, depending on the jdk compatibility. json-lib-x.x-jdk13 is compatible with JDK 1.3.1 and upwards. json-lib-x.x-jdk15 is compatible with JDK 1.5, includes support for Enums in JSONArray and JSONObject. Please reffer to the appropriate javadoc links available in the project menu.
Json-lib requires (at least) the following dependencies in your classpath:
- jakarta commons-lang 2.5
- jakarta commons-beanutils 1.8.0
- jakarta commons-collections 3.2.1
- jakarta commons-logging 1.1.1
- ezmorph 1.0.6
Other dependencies are needed if working with XML andGroovy. Please review the Dependencies report to know more about those extra dependencies.
- What is JSON ?
- What is JSON ?
- What is JSON
- what is json
- What is JSON?
- What is JSON:初识JSON
- What is JSON:初识JSON
- What is JSON:初识JSON
- What is JSON:初识JSON
- What is JSON Wire Protocol?
- What is JSON and Its usage
- What is a valid JSON string?
- What is JSON, JSON-RPC and JSON-RPC-Java?
- What is JSON:在ASP.NET中使用JSON
- What is JSON:在ASP.NET中使用JSON
- What is JSON: the 3 minute JSON Tutorial
- What is what ?!
- what is what?
- 1月5号英语学习
- C核心技术手册(二十二)
- WebBrowser控件应用:弹出新窗体和关闭窗口 (转)
- 未来在哪里?(清华大学刘徐舟老师经典语录)
- 遇见曾经的我
- What is JSON ?
- クラスのEJB
- window.close 关闭WebBrowser(高手那里转来的)测试已经成功
- 大型网站运维探讨和心得
- 【转】Cornell 学习法
- Nov 30, 2010 SWINDON
- Hynix-China 2011始务式-新征程的号角已吹响
- 如何使用QWS_MOUSE_PROTO,配置qt的鼠标
- __declspec关键字详细用法