Module rocket_contrib::json

source ·
Expand description

Automatic JSON (de)serialization support.

See the Json type for further details.


This module is only available when the json feature is enabled. Enable it in Cargo.toml as follows:

version = "0.4.11"
default-features = false
features = ["json"]



  • An error returned by the Json data guard when incoming data fails to serialize as JSON.