[−][src]Macro jws::json_object
Create a JSON object.
This is similar to the json
macro from serde,
except that this macro always creates a JSON object, rather than a JSON value.
Example
json_object!{ "alg": "HS256", "typ": "jwt", };
Create a JSON object.
This is similar to the json
macro from serde,
except that this macro always creates a JSON object, rather than a JSON value.
json_object!{ "alg": "HS256", "typ": "jwt", };