Review the JSON today to write my experience:1, first of all, it needs to be clear that JSON is a data format, not a programming language.2. JSON can represent three types of values:
Simple values: String, Number, Boolean, NULL (undefined
When the JSON data parsing error, such as:Here id,code,a1 and so on, should use double quotation marks, namely: "id", "code", "A1", if the value after the ID is a numeric or Boolean type, then the value does not need to use double quotation marks,
Indenting and Whitespace)Use two spaces instead of the tab key for code indent (notepad ++, Eclipse and Other Editors support this configuration );The end of the line should not contain white space characters\ N (Unix line break) should be used
This article describes how to use double equals () in PHP with caution. For more information, see
This article describes how to use double equals (=) in PHP with caution. For more information, see
PHP comparison operators appear too
General specificationFile encodingAll files are UTF-8 encoded with no BOM.Indent inUse 4 spaces to indent.The Tab may be different in length under different operating systems, and spaces are used in order for code to indent consistently in any
JavaScript performance issues are not to be underestimated, this requires our developers to write JavaScript program more attention to some details, this article is a very detailed introduction of JavaScript performance optimization of knowledge
first, the understanding of JSONJSON is a data format, not a programming language, and JSON does not belong to JavaScript. The syntax of JSON can represent the following three types of values1) Simple valueThe same syntax as JS, you can represent
Introduction to localization/internationalization of iOS language (graphic)Language localization, also known as language internationalization. is to automatically set the language of the application to a language consistent with the language of the
The principle of single quote double quotation mark used in PHPUse single quotes as much as possible in 1.PHP, with double quotes in all HTML code2. When you include variables, use double quotation marks to simplify the operation3. In complex cases,
Data typein the ES , there are 6 basic data types :number,String,Boolean , Null,Undefined, and ES6 Newly added SymbolUndefined Data TypesThere is only one value for this data type:undefiendwhen a variable is declared, but the variable is not
all labels must be lowercase
In XHTML, all labels must be lowercase, not case-insensitive, and not all uppercase. Examples are as follows.
Fatal error:
Correct:
The labels must be paired.
such as ..., ..., ... tags, etc., when a label
for var inch List Do CommandsdoneIn each iteration, the variable var contains the current value in the list, the first iteration uses the first value in the list, and the second one uses the second value.In do and done, the $var variable
IntroductionOften need to deal with shell commands, but there has been no systematic learning, then it will take 1-2 months to learn the shell command system, then open the magical journey of the shell command. This chapter focuses on the print
The previous article outlines some of the tips used in JavaScript, and this article goes on to describe memory management, loose coupling, performance tips, points to avoid errorsMemory management1. Circular referenceIf a circular reference contains
JSON is a lightweight data format that simplifies the effort to represent data structures. In the actual work, we often use it to pass data, but some of the details of its use should be noted. Native JSON objects are defined in ECMAScript5, which
Tips for using double quotes in Excel
If there is nothing in the cell, the operation can not be no matter without asking, you need to use "" to represent "empty" to participate in the operation. For example, the first column in the following table
The shell can recognize 4 different types of cited symbols: single quote character ' double quote character ' backslash character \ anti-quote character '
1. Single quotation mark (')# grep Susan PhonebookSusan Goldberg 403-212-4921Susan Topple 21
Original address: http://blog.sina.com.cn/s/blog_640b03390100sham.htmlAll along, the execution efficiency of the program is People's concern, in PHP is no exception, from the simplest quotation marks, but also thinking about his efficiency.We have
This article mainly introduces the Linux Shell Script series (ii): The terminal printing instructions, this article focuses on the echo terminal printing, printf terminal print two print out output command, the need for friends can refer to the
1. Use embedded HTML code, not PHP's echo statement.
Because PHP is an embedded web programming language, you can embed HTML code and PHP code into each other. But many programmers are concerned about the excessive use of "" embedded PHP code in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.