mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-04-25 09:22:19 +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)
|
||||

|
||||
|
@ -6,7 +6,7 @@
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"jsonpath",
|
||||
"native",
|
||||
"rust-binding",
|
||||
"rust",
|
||||
"json"
|
||||
],
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user