`
ppju
  • 浏览: 79784 次
  • 性别: Icon_minigender_1
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论

My work summary - 20091209

阅读更多
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 JavaScript Language.

JSON is a text format that is completely language independent but uses convention that is familiar to the programmars of the c-family language,including c, c++, java,perl,python ,javascript and many others.These properties make the JSON an ideal data interchange language.

JSON is built on two structures:
  1. A collection of name/value pairs.
  2. A ordered list value.( List,Vector, ArrayList)

These are universal data structures. Virtually all modern programming languages support them in one form or another. It makes sense that a data format that is interchangable with programming languages also be based on these structures.

   var array = eval("[1,2,3]");
   array[0]; // 1
   array[1]; // 2
   array[2]; // 3


   function showJSON() {   
     var user =    
      {    
         "username":"andy",   
         "age":20,   
         "info": { "tel": "123456", "cellphone": "98765"},   
         "address":   
             [   
                 {"city":"beijing","postcode":"222333"},   
                 {"city":"newyork","postcode":"555666"}   
             ]   
      }   
        
     alert(user.username);   
     alert(user.age);   
     alert(user.info.cellphone);   
     alert(user.address[0].city);   
     alert(user.address[0].postcode);   }
 


will focus on the json for details
0
0
分享到:
评论

相关推荐

    my-personal-website-project

    My story Virtual Resume/Work experience (expand option if possible) - simple table with years worked / location / picture / title / short summary Interests - ski icon / swim icon / dog icon / coding...

    2.小学英语教师面试:听力课《My day》全英文教案及试讲逐字稿.pdf

    本教案以小学英语听力课程《My day》为内容,旨在通过全英文的试讲方式,帮助学生掌握时间表达,提升听力技巧,并能自由地用时间表达法描述自己的一天。以下是根据提供的文件内容,详细阐述的关键知识点: 1. 教学...

    六年级Revision学案1.doc

    - 过去进行时则表示在过去某一时间点或时间段内正在进行的动作,如"I was doing my homework when you met me." 4. 选词填空: - 在具体时间前用介词"On",所以正确答案是B. On。 - "too"用于肯定句的句尾,表示...

    Yunus, Muhammad - Creating A World Without Poverty; Social Business and the Future of Capitalism

    I just want to add to this based on my common sense approach on the present financial crisis, which has developed after his book Creating a World Without Poverty was written. Both governments and ...

    BURNINTEST--硬件检测工具

    Here is a summary of all changes that have been made in each version of BurnInTest. Release 5.3 build 1035 revision 4 WIN32 release 10 November 2008 - Lenovo China specific build. Lenovo system ...

    Object- Oriented Programming with Ansi-C

    on the happenings in the chapter and their importance for future work. Most chapters suggest some exercises; however, they are not spelled out formally, because I firmly believe that one should ...

    达沃旗SAP_SAP外企面试-基本英语准备.pdf

    - Give me a summary of your current job description. - 对你目前的工作,能否做个概括的说明? **回答示例:** - I have been working as a computer programmer for five years. To be specific, I do system ...

    Professional.MFC.with.VC6

    Contents Chapter 1: The Microsoft Developer Studio The Microsoft Developer Studio The Project Workspace Project Workspace Window Project Configurations ...Taking Credit for the Work of ...

    教师资格证45分钟全程教案参考--阅读课课型英语教案(精品).docx

    1. Teacher displays the title "My First Ride on a Train" and briefly introduces the topic. 2. Students are shown the new vocabulary words (abandoned, camels, cloud, etc.) through pictures and ...

    Mbox 2 Pro Driver 11 驱动

    > > result, I am assuming that the above is a summary of the state of an Mbox > > which you currently have access to and would be willing to test under FFADO. > > Is this correct? > Yes a friend gave ...

    找工作英语面试常用口语收集,非常齐全

    如果被问到:“Give me a summary of your current job description.”,你应该清晰地解释你的工作内容,如:“I have been working as a computer programmer for five years. To be specific, I do system ...

    一年级英语上册Unit2Face第3课时教案人教新起点.pdf

    - 重点句型:This is my ⋯ Touch your ⋯ 这两个句型的实践。 9. **Homework**: - 创意作业:用橡皮泥制作小男孩模型,并用英语指出五官,将课堂知识应用于生活场景。 - 复习与讲述:复习Bill和猴子的故事,...

    面试英语口语中经典问答

    **问题:** Are you a multi-tasked individual or do you work well under stress or pressure? **回答:** Yes, I think so. The trait is needed in my current (or previous) position and I know I can handle ...

    面对老外面试官最常用英语.doc

    - “With my internship experience, I am confident that I can get on with work well quickly.” **解析**:评价自己的专业能力时,可以从教育背景、实习经历等方面入手,展现出自信和积极的态度。重点是强调...

    述职报告PPT模板清新活力时尚多用途.pptx

    **工作报告(Work Summary):** 工作报告是对整个工作期间的全面总结,包括遇到的挑战、解决问题的方法、学习的新技能以及未来的工作计划。如"Because I want to change my working environment",这部分可以讲述...

    近外企 程序员面试英语

    **问题:** Give me a summary of your current job description. **回答示例:** I have been working as a computer programmer for five years. To be specific, I do system analysis, troubleshooting, and ...

Global site tag (gtag.js) - Google Analytics