返回首页 用 JSON 构建 API 的标准指南
FAQ

Examples

Examples are excellent learning aids. The following projects implementing JSON API are divided into server- and client-side. The server-side is further divided by implementation language. If you'd like your project listed, send a Pull Request.

Client

JavaScript

  • ember-data is one of the original exemplar implementations. There is a custom adapter to support json-api.

  • backbone-jsonapi is a Backbone adapter for JSON API. Supports fetching Models & Collections from a JSON API source.

iOS

  • jsonapi-ios is a library for loading data from a JSON API datasource. Parses JSON API data into models with support for auto-linking of resources and custom model classes.

Server

PHP

Node.js

  • Fortune.js is a framework built to implement json-api.

Ruby

  • ActiveModel::Serializers is one of the original exemplar implementations, but is slightly out of date at the moment.

  • JsonApiClient attempts to give you a query building framework that is easy to understand (similar to ActiveRecord scopes)

  • The rabl wiki has a page describing how to emit conformant JSON.

  • RestPack::Serializer implements the read elements of json-api. It also supports paging and side-loading.

  • Oat ships with a JSON API adapter.

Python

  • Hyp is a library for creating json-api responses.

  • SQLAlchemy-JSONAPI provides JSON API serialization for SQLAlchemy models.

Messages

Related Tools

Ruby

  • json-patch implementation of JSON Patch (rfc6902)

  • hana implementation of the JSON Patch and JSON pointer spec

Node.js

  • json-patch implementation of JSON Patch (rfc6902)
上一篇: 扩展 下一篇: FAQ