From f4c7677be63451727980cfe347fe939d1d3e73db Mon Sep 17 00:00:00 2001 From: Jacob Quinn Date: Fri, 3 Oct 2025 09:28:13 -0600 Subject: [PATCH] Add support for new JSON 1.0 release --- Project.toml | 2 +- src/Conda.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 01ffd35..fca5d2d 100644 --- a/Project.toml +++ b/Project.toml @@ -8,7 +8,7 @@ JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" VersionParsing = "81def892-9a0e-5fdd-b105-ffc91e053289" [compat] -JSON = "0.18,0.19,0.20,0.21" +JSON = "0.18,0.19,0.20,0.21,1" VersionParsing = "1" julia = "1.3" Downloads = "1" diff --git a/src/Conda.jl b/src/Conda.jl index f2957c8..6320a4b 100644 --- a/src/Conda.jl +++ b/src/Conda.jl @@ -197,7 +197,7 @@ parsing resulting JSON output and returning a Julia dictionary of the contents. "Run conda command with environment variables set and return the json output as a julia object" function parseconda(args::Cmd, env::Environment=ROOTENV) _install_conda(env) - JSON.parse(read(_set_conda_env(`$conda $args --json`, env), String)) + JSON.parse(read(_set_conda_env(`$conda $args --json`, env), String); dicttype=Dict{String, Any}) end """