Lines Matching refs:new_object
198 /// let value = JsonValue::new_object(Object::new());
201 pub fn new_object(object: Object) -> Self {
329 /// let object_value = JsonValue::new_object(Object::new());
428 /// let array_value = JsonValue::new_object(Object::new());
530 /// let mut object_value = JsonValue::new_object(Object::new());
639 /// let object_value = JsonValue::new_object(Object::new());
842 /// assert_eq!(JsonValue::new_object(Object::new()), JsonValue::new_object(Object::new()));
859 /// assert_ne!(JsonValue::new_object(object1), JsonValue::new_object(object2));
993 json_value_from_type!(Object, JsonValue::new_object);
1035 let value = JsonValue::new_object(object);
1072 assert!(!JsonValue::new_object(Object::new()).is_null());
1092 assert!(!JsonValue::new_object(Object::new()).is_true());
1112 assert!(!JsonValue::new_object(Object::new()).is_false());
1132 assert!(!JsonValue::new_object(Object::new()).is_boolean());
1152 assert!(!JsonValue::new_object(Object::new()).is_number());
1172 assert!(!JsonValue::new_object(Object::new()).is_string());
1192 assert!(!JsonValue::new_object(Object::new()).is_array());
1212 assert!(JsonValue::new_object(Object::new()).is_object());
1234 assert!(JsonValue::new_object(Object::new())
1256 assert!(JsonValue::new_object(Object::new())
1278 assert!(JsonValue::new_object(Object::new())
1300 assert!(JsonValue::new_object(Object::new()).try_as_array().is_err());
1320 assert!(JsonValue::new_object(Object::new()).try_as_object().is_ok());
1344 assert!(JsonValue::new_object(Object::new())
1370 assert!(JsonValue::new_object(Object::new())
1396 assert!(JsonValue::new_object(Object::new())
1422 assert!(JsonValue::new_object(Object::new())
1448 assert!(JsonValue::new_object(Object::new())
1474 assert!(JsonValue::new_object(Object::new())
1500 assert!(JsonValue::new_object(Object::new())
1526 assert!(JsonValue::new_object(Object::new())
1550 assert!(JsonValue::new_object(Object::new())
1576 assert!(JsonValue::new_object(Object::new())
1651 JsonValue::new_object(Object::new()),
1652 JsonValue::new_object(Object::new())
1675 JsonValue::new_object(Object::new())
1686 JsonValue::new_object(Object::new())
1697 JsonValue::new_object(Object::new())
1724 let mut object = JsonValue::new_object(