master
Ondřej Hruška 5 years ago
parent 00270d811b
commit 104f03101d
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      Cargo.toml
  2. 2
      src/lib.rs

@ -1,6 +1,6 @@
[package] [package]
name = "json_dotpath" name = "json_dotpath"
version = "0.1.0" version = "0.1.1"
authors = ["Ondřej Hruška <ondra@ondrovo.com>"] authors = ["Ondřej Hruška <ondra@ondrovo.com>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"

@ -4,6 +4,7 @@ use serde_json::{Map, Value};
use std::cmp::Ordering; use std::cmp::Ordering;
use std::mem; use std::mem;
#[cfg(test)]
#[macro_use] extern crate serde_derive; #[macro_use] extern crate serde_derive;
/// Access and mutate nested JSON elements by dotted paths /// Access and mutate nested JSON elements by dotted paths
@ -542,7 +543,6 @@ mod tests {
use crate::DotPaths; use crate::DotPaths;
use serde_json::json; use serde_json::json;
use serde_json::Value; use serde_json::Value;
use serde::{Serialize,Deserialize};
#[test] #[test]
fn get_scalar_with_empty_path() { fn get_scalar_with_empty_path() {

Loading…
Cancel
Save