Rocket/contrib/src
Sergio Benitez a019f0d1f3 Use new 'JsonValue' type as return type of 'json!'.
Prior to this commit, a 'json!' invocation returned a value of type
'Value' from 'serde_json'. Because 'Value' does not implement
'Responder', most uses of 'json!' were wrapped in 'Json':
'Json(json!(..))`. By returning a crate-local 'JsonValue' type that
implements 'Responder', this repetition is resolved, and a 'json!' can
appear unwrapped.

This commit also removes the reexport of 'Value' from 'rocket_contrib'
as well as the default type of 'Value' for 'T' in 'Json<T>'.
2017-08-25 23:14:42 -07:00
..
templates Emit all error messages from Tera on init failure. 2017-08-02 16:58:55 -07:00
json.rs Use new 'JsonValue' type as return type of 'json!'. 2017-08-25 23:14:42 -07:00
lib.rs Use new 'JsonValue' type as return type of 'json!'. 2017-08-25 23:14:42 -07:00
msgpack.rs Remove config global state. Use Responder::respond_to. 2017-05-19 03:29:08 -07:00
uuid.rs Use the `RawStr` type for raw parameter strings. 2017-03-31 00:18:58 -07:00