Skip to main content

effective_json_options

Function effective_json_options 

Source
pub fn effective_json_options(
    service: Option<&JsonPolicy>,
    h: &Handler,
) -> JsonOptions
Expand description

The mode a route’s response body is written in: its own @json(options:) wins over the service’s json { options: }, which wins over the tagged default.