json_filter_sorted/lib.rs
1pub mod filter;
2pub mod path;
3pub mod sort;
4
5#[cfg(test)]
6pub mod test;
7
8use thiserror::Error;
9
10type MyResult<T> = Result<T, ErrorKind>;
11type JsonValue = serde_json::Value;
12
13#[derive(Debug, Error)]
14pub enum ErrorKind {
15 #[error("ValueError")]
16 ValueError,
17
18 #[error("SerdeJsonError : {0}")]
19 SerdeError(#[from] serde_json::Error),
20}