In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article to share with you is about how to Json entry document for detailed analysis, Xiaobian feel quite practical, so share to everyone to learn, I hope you can read this article after some harvest, not much to say, follow Xiaobian to see it.
Json is a data manipulation language used to move and manipulate data from Web forms and convert the data into a format suitable for sending to server-side programs, for example, to represent arrays and complex objects rather than simple lists of keys and values.
If you have read the previous articles in this series, you should already have a good understanding of data formats. The previous article explained how plain text and simple name/value pairs are used appropriately in many asynchronous applications. The data can be combined into forms such as:
Brett McLaughlin brett@newInstance.com
That's it. There's nothing else to do. In fact, Web veterans will recognize that information sent via GET requests is in this format.
Then, this series discusses XML. Clearly, XML has received considerable attention (both positive and negative reviews) and is already widely used in Ajax applications. For information on how to use the Json Getting Started Document Data Format, review previous articles in this series:
Brett McLaughlin brett@newInstance.com
The data here is the same as seen earlier, but this time in XML format. This is nothing special; it's just another data format that allows us to use XML instead of plain text and name/value pairs. This article discusses another data format, JavaScript Object Notation (JSON). JSON looks both familiar and unfamiliar. It offers an alternative, and a wider choice is always a good thing.
Json Introduction
When using name/value pairs or XML, you are actually using JavaScript to fetch data from your application and convert it to another data format. In these cases, JavaScript is largely used as a data manipulation language to move and manipulate data from Web forms and convert it into a format suitable for sending to server-side programs.
However, sometimes JavaScript is used more than just as a formatting language. In these cases, objects in the JavaScript language are actually used to represent the data, rather than just putting data from the Web form into the request. In these cases, data is extracted from JavaScript objects.
Then put the data into name/value pairs or XML, and the Json starter documentation is a bit redundant. This is where JSON fits in, allowing JavaScript objects to be easily converted into data that can be sent on request (synchronously or asynchronously). JSON is not some magic bullet; however, it is a good choice for some very special situations.
The above is how to conduct a detailed analysis of the Json entry document, Xiaobian believes that some knowledge points may be seen or used in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.