mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-06-22 04:11:40 +00:00
문서 오타수정 및 키워드 수정
This commit is contained in:
@ -296,7 +296,7 @@ pub fn read(json: &Value, path: &str) -> result::Result<Value, String> {
|
||||
select(json, path)
|
||||
}
|
||||
|
||||
/// # Deprecaed. use `into_str`
|
||||
/// # Deprecaed. use `select_as_str`
|
||||
pub fn select_str(json: &str, path: &str) -> result::Result<String, String> {
|
||||
select_as_str(json, path)
|
||||
}
|
||||
@ -329,7 +329,7 @@ pub fn select_as_str(json: &str, path: &str) -> result::Result<String, String> {
|
||||
///
|
||||
/// use serde::{Deserialize, Serialize};
|
||||
///
|
||||
/// #[derive(Serialize, Deserialize, PartialEq, Debug)]
|
||||
/// #[derive(Deserialize, PartialEq, Debug)]
|
||||
/// struct Person {
|
||||
/// name: String,
|
||||
/// age: u8,
|
||||
|
Reference in New Issue
Block a user