Crate json_api [−] [src]
Idiomatic types for building a robust JSON API.
Reexports
pub extern crate http; |
Modules
| doc |
Components of a JSON API document. |
| error |
The |
| query |
An API for working with well-known query parameters. |
| value |
Represent and interact with JSON API values. |
| view |
Low-level utilies for generically rendering a document. |
Macros
| resource |
A DSL for implementing the |
Structs
| Error |
The Error type. |
Enums
| Document |
Represents a compound JSON API document. |
| Value |
Represents any valid JSON API value. |
Traits
| Resource |
A trait indicating that the given type can be represented as a resource. |
Functions
| from_doc |
Interpret a |
| from_reader |
Deserialize a |
| from_slice |
Deserialize a |
| from_str |
Deserialize a |
| from_value |
Interpret a |
| to_doc |
Render type |
| to_string |
Render type |
| to_string_pretty |
Render type |
| to_value |
Convert a |
| to_vec |
Render type |
| to_vec_pretty |
Render type |
| to_writer |
Render type |
| to_writer_pretty |
Render type |