Lines Matching refs:value
39 for (key, value) in rest { in fmt()
40 write!(formatter, "\"{}\": {},", key, value)?; in fmt()
59 fn push(&mut self, key: &str, value: T); in push()
63 fn push(&mut self, key: &str, value: bool) { in push()
64 self.0.push((key.to_string(), Value::Boolean(value))); in push()
69 fn push(&mut self, key: &str, value: i32) { in push()
70 self.0.push((key.to_string(), Value::Number(value))); in push()
75 fn push(&mut self, key: &str, value: String) { in push()
76 self.0.push((key.to_string(), Value::String(value))); in push()
81 fn push(&mut self, key: &str, value: &str) { in push()
82 self.push(key, value.to_string()); in push()
87 fn push(&mut self, key: &str, value: Object) { in push()
88 self.0.push((key.to_string(), Value::Object(value))); in push()
97 for (key, value) in rest { in fmt()
98 write!(formatter, " \"{}\": {},\n", key, value)?; in fmt()
128 let (key, value) = line.split_once('=').expect("Missing `=` in line."); in from_stdin()
129 result.insert(key.to_string(), value.trim_end_matches('\n').to_string()); in from_stdin()