mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-04-25 17:32:15 +00:00
문서 오타수정 및 키워드 수정
This commit is contained in:
parent
493839addc
commit
f49da21730
@ -1,4 +1,4 @@
|
|||||||
# jsonpath-lib
|
# jsonpath_lib
|
||||||
|
|
||||||
[](https://travis-ci.org/freestrings/jsonpath)
|
[](https://travis-ci.org/freestrings/jsonpath)
|
||||||

|

|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"jsonpath",
|
"jsonpath",
|
||||||
"native",
|
"rust-binding",
|
||||||
"rust",
|
"rust",
|
||||||
"json"
|
"json"
|
||||||
],
|
],
|
||||||
|
@ -296,7 +296,7 @@ pub fn read(json: &Value, path: &str) -> result::Result<Value, String> {
|
|||||||
select(json, path)
|
select(json, path)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// # Deprecaed. use `into_str`
|
/// # Deprecaed. use `select_as_str`
|
||||||
pub fn select_str(json: &str, path: &str) -> result::Result<String, String> {
|
pub fn select_str(json: &str, path: &str) -> result::Result<String, String> {
|
||||||
select_as_str(json, path)
|
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};
|
/// use serde::{Deserialize, Serialize};
|
||||||
///
|
///
|
||||||
/// #[derive(Serialize, Deserialize, PartialEq, Debug)]
|
/// #[derive(Deserialize, PartialEq, Debug)]
|
||||||
/// struct Person {
|
/// struct Person {
|
||||||
/// name: String,
|
/// name: String,
|
||||||
/// age: u8,
|
/// age: u8,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user