JSOP is a proposed browser-enabled HTTP-based protocol for efficiently exchanging fine-grained information. It involves serializing data to JSON, supports GET, PUT, and PATCH requests, and allows hierarchical resources and binary data. Sample requests and responses are provided to demonstrate retrieving and updating folder structures containing documents. PATCH requests use a JSON diff format to specify changes. Resources can also be manipulated via multipart POST requests wrapping data and diff payloads.
2. Pitch & Goal
- Browser enabled, HTTP-based protocol
designed to exchange fine-grained
information efficiently.
- Easy to consume by todays
Web-”Gear” (browsers, flash & friends)
- Probably suitable for an RFC @ IETF
3. Basics
- Serialization to JSON (optionally YAML/XML)
- GET (batch/hierarchical)
- PUT (batch/hierarchical)
- PATCH (json diff content type)
- Support for binary as multipart