Skip to content

Commit

Permalink
CLEANUP: Use OrderedDict for acset schema JSON Schema.
Browse files Browse the repository at this point in the history
Another cosmetic change.
  • Loading branch information
epatters committed Aug 31, 2022
1 parent 92f5427 commit 592f1c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/categorical_algebra/CSets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1242,8 +1242,9 @@ end
The result is a JSON-able object (dictionary) from which a `JSONSchema.Schema`
can be constructed, using the package JSONSchema.jl.
"""
function acset_schema_json_schema()
JSON.parsefile(joinpath(@__DIR__, "data", "acset.schema.json"))
function acset_schema_json_schema(; kw...)
JSON.parsefile(joinpath(@__DIR__, "data", "acset.schema.json");
dicttype=OrderedDict{String,Any}, kw...)
end

end

0 comments on commit 592f1c2

Please sign in to comment.