json_value_search
Give an interface to search values into json_serde::Value.
Getting Started
Installation
Add the following line to your Cargo.toml:
[]
= "x.y.z" # Replace with the latest version
Quick Start
Basic Example
extern crate json_value_search;
use Search;
use Value;
let value: Value = from_str.unwrap;
let value_expected_with_wildcard: Value = from_str.unwrap;
assert_eq!;
let value_expected_for_specific_field: Value = from_str.unwrap;
assert_eq!;
let value_expected_for_specific_index: Value = from_str.unwrap;
assert_eq!;
let value_expected_with_regex: Value = from_str.unwrap;
assert_eq!;
Useful link
Contributing
Contributions are welcome!
To contribute:
- Fork the repository and create your branch (git checkout -b feature/my-feature).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature/my-feature).
- Open a pull request.
For major changes, please open an issue first to discuss your proposal.
Please ensure that tests are added or updated as appropriate.
License
Licensed under either of the following, at your option: