json_api_document 0.3.3 copy "json_api_document: ^0.3.3" to clipboard
json_api_document: ^0.3.3 copied to clipboard

discontinued
outdated

JSON API (or jsonapi, see http://jsonapi.org) implementation in Dart2. Builds JSON API v0.1 Documents according to the standard.

example/readme.md

Building stuff #

build.dart builds a new JSON API Document and prints its JSON representation.

Run

dart example/build.dart

to produce a sample JSON API Document. For your convenience, document.json already contains the pretty-printed version of this document.

Parsing stuff #

parse.dart parses any JSON API document from the standard input.

Run

dart example/parse.dart < example/document.json

to parse the example document. This will produce the following output:

This is DataDocument
The primary data is ResourceListData with 1 resource(s).
The document contains 3 included resource(s).

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

JSON API (or jsonapi, see http://jsonapi.org) implementation in Dart2. Builds JSON API v0.1 Documents according to the standard.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on json_api_document