File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
9
9
DataStructures = " 864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
10
10
ForwardDiff = " f6369f11-7733-5829-9624-2563aa707210"
11
11
JSON = " 682c06a0-de6a-54ab-a142-c8b1cf79cde6"
12
+ JSON3 = " 0f8b85d8-7281-11e9-16c2-39a750bddbf1"
12
13
LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
13
14
MutableArithmetics = " d8a4904e-b15c-11e9-3269-09a3773c0cb0"
14
15
NaNMath = " 77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
Original file line number Diff line number Diff line change 3
3
#
4
4
# Use of this source code is governed by an MIT-style license that can be found
5
5
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
6
+ using JSON3
6
7
7
8
"""
8
9
Base.write(io::IO, model::FileFormats.MOF.Model)
@@ -29,8 +30,7 @@ function Base.write(io::IO, model::Model)
29
30
objective = objective,
30
31
constraints = constraints,
31
32
)
32
- indent = options. print_compact ? nothing : 2
33
- Base. write (io, JSON. json (object, indent))
33
+ Base. write (io, JSON3. write (object))
34
34
return
35
35
end
36
36
You can’t perform that action at this time.
0 commit comments