Documentation: use JSON instead of the deprecated JSON3 once CTModels is released
I maintainer di solito rispondono entro 1 giorno
@ocots ci sta già lavorando.
Dal 18/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Context
JSON3.jl is deprecated in favour of JSON.jl v1. CTModels moves its JSON format to JSON.jl (control-toolbox/CTModels.jl#467, PR #468): the CTModelsJSON extension is then activated by using JSON instead of using JSON3, and JSON3Tag is renamed JSONTag. format=:JSON is unchanged and the files keep their format.
This is a breaking change of CTModels (0.20.0). Once it is released, the OptimalControl documentation must load JSON instead of JSON3, or the JSON examples will fail with an ExtensionError.
To update (after the CTModels release)
docs/make.jl:using JSON3→using JSON.docs/src/results/save-load.md:- the JSON section: the link to
JSON3.jl→ JSON.jl, andusing JSON3→using JSON; - the section "Without JLD2 or JSON3" (title and text):
JSON; theExtensionErrorforformat=:JSONnow namesJSON.
- the JSON section: the link to
docs/src/getting-started/installation.md:using JSON3 # format=:JSON→using JSON.- The documentation environments, which list
JSON3with its UUID and a[compat]entry:JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"andJSON = "1"indocs/Project.toml;docs/src/assets/Project.toml;docs/src/public/assets/Project.toml.
- Check the notebook and script of the guided tour (
docs/src/public/assets/guided-tour.*) and the pages that mention the formats.
Nothing in src/, ext/ or test/ of OptimalControl uses JSON3.
Related
- control-toolbox/CTModels.jl#467, #468.
- OptimalControl#992 (documentation of the multi-phase solutions), which depends on the same CTModels release.
- Lingua principale
- Julia
- Stelle
- 135
- Fork
- 11
- Merge medio
- 7h 51m
- PR unite (30g)
- 22
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di control-toolbox/OptimalControl.jl
-
[Doc] User guide to the duals: every kind, constraint ↔ dual, direct ↔ indirectForse già presa @ocots l’ha presa 5 giorni fa. Aperta
control-toolbox/OptimalControl.jl#1035 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Tests of the duals: every kind of constraint, direct vs indirect, pinned algorithmsForse già presa @ocots l’ha presa 5 giorni fa. Aperta
control-toolbox/OptimalControl.jl#1034 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Doc] Examples for the sign convention of duals and costate (min/max, writing of constraints, direct vs indirect)Forse già presa @ocots l’ha presa 14 giorni fa. Aperta
control-toolbox/OptimalControl.jl#1016 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Documentation: sign conventions (min/max, p⁰, constraints, duals) and how they appear in a solutionForse già presa @ocots l’ha presa 16 giorni fa. Apertadocumentation
control-toolbox/OptimalControl.jl#1015 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Tests fail on Julia 1.13: keyword-only anonymous function in test/problems/goddard.jlForse già presa @ocots l’ha presa 18 giorni fa. Aperta
control-toolbox/OptimalControl.jl#996 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di control-toolbox/OptimalControl.jl
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
backport 1.14 GC
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno