From 92edc364426ddb4c80292ebe7e702c02f9344c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 21 Sep 2020 18:36:37 +0200 Subject: refactor: use futures and serde_json from deno_core (#7614) --- cli/tsc_config.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cli/tsc_config.rs') diff --git a/cli/tsc_config.rs b/cli/tsc_config.rs index a86b549bc..63538d49f 100644 --- a/cli/tsc_config.rs +++ b/cli/tsc_config.rs @@ -1,9 +1,10 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; +use deno_core::serde_json; +use deno_core::serde_json::Value; use jsonc_parser::JsonValue; use serde::Deserialize; -use serde_json::Value; use std::collections::HashMap; use std::fmt; use std::str::FromStr; @@ -178,7 +179,7 @@ pub fn parse_config( #[cfg(test)] mod tests { use super::*; - use serde_json::json; + use deno_core::serde_json::json; #[test] fn test_json_merge() { -- cgit v1.2.3