From b14aaf927b86cef26fe1213cf6275aa015cc710f Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 6 Oct 2025 14:27:41 +1300 Subject: [PATCH 1/3] Test CI with JSON@1 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71ceefb819..1a5009eaed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,8 @@ jobs: - version: '1.6' os: ubuntu-latest arch: x64 + # We may need to make some changes because of + # https://github.com/JuliaIO/JSON.jl/issues/386 - version: '1' os: ubuntu-latest arch: x86 From d7bccf6695b0a2abc407f622fbdc9c04519d2155 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Fri, 17 Oct 2025 09:34:24 +1300 Subject: [PATCH 2/3] Update --- .github/workflows/ci.yml | 2 -- docs/Project.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a5009eaed..71ceefb819 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,6 @@ jobs: - version: '1.6' os: ubuntu-latest arch: x64 - # We may need to make some changes because of - # https://github.com/JuliaIO/JSON.jl/issues/386 - version: '1' os: ubuntu-latest arch: x86 diff --git a/docs/Project.toml b/docs/Project.toml index 0c18617ad0..26713e4f16 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -6,5 +6,5 @@ MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" [compat] Documenter = "1" -JSON = "0.21" +JSON = "1" JSONSchema = "1" From 0bcf2d18343377be337d7db8afbcaaeda640706f Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Fri, 17 Oct 2025 09:48:03 +1300 Subject: [PATCH 3/3] Fix --- docs/src/submodules/FileFormats/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/submodules/FileFormats/overview.md b/docs/src/submodules/FileFormats/overview.md index 1d75c96c95..29b1e41862 100644 --- a/docs/src/submodules/FileFormats/overview.md +++ b/docs/src/submodules/FileFormats/overview.md @@ -282,7 +282,7 @@ Use `JSONSchema.validate` to obtain more insight into why the validation failed: julia> JSONSchema.validate(schema, bad_model) Validation failed: path: [variables][1] -instance: Dict{String, Any}("NaMe" => "x") +instance: JSON.Object{String, Any}("NaMe" => "x") schema key: required schema value: Any["name"] ```