Searched refs:try_into_array (Results 1 – 1 of 1) sorted by relevance
625 pub fn try_into_array(self) -> Result<Array, Error> { in try_into_array() method1542 assert!(JsonValue::new_null().try_into_array().is_err()); in ut_json_value_try_into_array()1543 assert!(JsonValue::new_boolean(true).try_into_array().is_err()); in ut_json_value_try_into_array()1544 assert!(JsonValue::new_boolean(false).try_into_array().is_err()); in ut_json_value_try_into_array()1546 .try_into_array() in ut_json_value_try_into_array()1548 assert!(JsonValue::new_string("hello").try_into_array().is_err()); in ut_json_value_try_into_array()1549 assert!(JsonValue::new_array(Array::new()).try_into_array().is_ok()); in ut_json_value_try_into_array()1551 .try_into_array() in ut_json_value_try_into_array()