diff --git a/README.md b/README.md index d6da784..d8c7fc3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# jsonpath-lib +# jsonpath_lib [![Build Status](https://travis-ci.org/freestrings/jsonpath.svg?branch=master)](https://travis-ci.org/freestrings/jsonpath) ![crates.io](https://img.shields.io/crates/v/jsonpath_lib.svg) diff --git a/nodejs/package.json b/nodejs/package.json index 4f5aa34..e9c5793 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -6,7 +6,7 @@ "license": "MIT", "keywords": [ "jsonpath", - "native", + "rust-binding", "rust", "json" ], diff --git a/src/lib.rs b/src/lib.rs index 926990e..184acf7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -296,7 +296,7 @@ pub fn read(json: &Value, path: &str) -> result::Result { select(json, path) } -/// # Deprecaed. use `into_str` +/// # Deprecaed. use `select_as_str` pub fn select_str(json: &str, path: &str) -> result::Result { select_as_str(json, path) } @@ -329,7 +329,7 @@ pub fn select_as_str(json: &str, path: &str) -> result::Result { /// /// use serde::{Deserialize, Serialize}; /// -/// #[derive(Serialize, Deserialize, PartialEq, Debug)] +/// #[derive(Deserialize, PartialEq, Debug)] /// struct Person { /// name: String, /// age: u8,