(&mut self, v: &serde_json::Value)
| 109 | } |
| 110 | |
| 111 | fn push(&mut self, v: &serde_json::Value) { |
| 112 | match self { |
| 113 | Self::Str(vec) => vec.push(Some(match v { |
| 114 | serde_json::Value::String(s) => s.clone(), |
| 115 | other => other.to_string(), |
| 116 | })), |
| 117 | Self::I64(vec) => vec.push(v.as_i64()), |
| 118 | Self::F64(vec) => vec.push(v.as_f64()), |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | fn push_null(&mut self) { |
| 123 | match self { |
no test coverage detected