syntax_data: {"ast_node_type":"function","tokens":[{"end":39,"kind":"keyword","start":0,"text":"fn"}]}
source_snippet:             fn to_json(&self) -> Json {
context_before:         $(impl ToJson for $t {
context_after:                 Json::Number(Number::from(*self))