Skip to main content

encode_json_object

Function encode_json_object 

Source
pub fn encode_json_object(pairs: &[(String, String)]) -> String
Expand description

A JSON object payload (json.dumps of a name -> value mapping), the security_headers:* config value shape. The pairs are written in the given order (Python dict insertion order).