What is JSON Wire Protocol?
来源:互联网 发布:五金淘宝店铺表示 编辑:程序博客网 时间:2024/05/22 03:23
Below article is from http://www.myyesm.com/what-is-json-wire-protocol/
For more information on the "JSON Wire Protocol", please check official website https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
JavaScript Object Notation (JSON) is used to represent objects with complex data structures. It is used primarily to transfer data between a server and a client on the web. It has very much become an industry standard for various REST web services, playing a strong alternative to XML.
- A sample JSON file, saved as a
.json
file, will look as follows:
{
"firstname": "John",
"lastname": "Doe",
"address": {
"streetnumber":"678",
"street":"Victoria Street",
"city":"Richmond",
"state":"Victoria",
"country":"Australia"
}
"phone":"+61470315430"
}
- A client can send a person’s details to a server in the preceding JSON format, which the server can parse and create an instance of the
Person
object for use in its execution. - Later, the response can be sent back by the server to the client in the JSON format, the data of which the client can use to create an object of a class.
- This process of converting an object’s data to the JSON format and JSON-formatted data to an object is named serialization and de-serialization, respectively, which is quite common in REST web services these days.
- Our WebDriver uses the same approach to communicate between client libraries (language bindings) and drivers, such as Firefox Driver, IE Driver, Chrome Driver, and so on. Similarly, the
RemoteWebDriver
client and theRemoteWebDriver
server use the JSON wire protocol to communicate among themselves
Connect Us
阅读全文
0 0
- What is JSON Wire Protocol?
- Appium的一点一滴:Mobile JSON Wire Protocol
- What is the HTTP protocol?
- 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 SNMP(Simple Network Management Protocol )
- Kafka Wire Protocol
- Wire Protocol Buffers介绍
- Introducing Wire Protocol Buffers
- 关于Wire Protocol ODBC Driver
- Wire protocol buffers的使用
- iOS开发 CGContextRef画图使用
- 第一个Java程序,输出“HelloWorld”。
- Iterator之remove情况分析之一报错原因
- 视频内容谁来保护?阿里云视频加密技术大揭秘,打造云上视频安全体系
- 判断是否是相同二叉树&&判断是否是对称树
- What is JSON Wire Protocol?
- xutils3图片加载详解
- 安装ffmpeg
- 广州本爱信息科技有限公司是骗子吗?真相揭秘
- 9. Palindrome Number(回文数字 eg:12321) —— Java
- UI控件之UISlider简单图片放大与缩小的应用
- jQuery邮箱验证正则表达式
- TestNG 监听器扩展插件 NetEase Arrow
- Swift构造函数