flâneur — a map of the web's best reading

JSON-RPC 2.0 Specification

jsonrpc.org · 2,034 words · saved by 1 readers

JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. Primarily this specification defines several data structures and the rules around their processing. It is transport agnostic in that the concepts can be used within the same process, over sockets, over http, or in many various message passing environments. It uses JSON (RFC 4627) as data format. It is designed to be simple! The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. Since JSON-RPC utilizes JSON, it has the same type system (see http://www.json.org or RFC 4627). JSON can represent four primitive types (Strings, Numbers, Booleans, and Null) and two structured types (Objects and Arrays). The term "Primitive" in this specification references any of those four primitive JSON types. The term "Structured" references either of the structured JSON types. Whenever this doc

JSON-RPC 2.0 Specification JSON-RPC Home Specs 2.0 1.0 More Details What is JSON? What is RPC? 1.0 vs. 2.0 Implementations Join the Discussion What uses JSON-RPC Translations (译) JSON-RPC 2.0 规范(中文版) Social JSON-RPC 2.0 Specification Origin Date: 2010-03-26 (based on the 2009-05-24 version) Updated: 2013-01-04 Author: JSON-RPC Working Group <json-rpc@googlegroups.com> Table of Contents Overview Conventions Compatibility Request Object Notification Parameter Structures Response Object Error Object Batch Examples Extensions 1 Overview JSON-RPC is a stateless, light-weight remote procedure call (

Explore this link on the map →

related reading