Home
last modified time | relevance | path

Searched refs:JsonString (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dvalue.rs32 pub type JsonString = CString; typedef
34 pub type JsonString = String; typedef
76 String(JsonString),
171 let result = Self::String(JsonString::new(str).unwrap()); in new_string()
174 let result = Self::String(JsonString::from(str)); in new_string()
396 pub fn try_as_string(&self) -> Result<&JsonString, Error> { in try_as_string() argument
498 pub fn try_as_mut_string(&mut self) -> Result<&mut JsonString, Error> { in try_as_mut_string() argument
605 pub fn try_into_string(self) -> Result<JsonString, Error> { in try_into_string() argument
899 let result = Self::String(JsonString::new(t).unwrap()); in from()
907 impl From<JsonString> for JsonValue {
[all …]
H A Ddeserializer.rs26 type JsonString = CString; typedef
28 type JsonString = String; typedef
243 fn de_parse_string(&mut self) -> Result<JsonString, Error> { in de_parse_string() argument