mirror of
https://github.com/kalmarek/SmallHyperbolic
synced 2024-11-27 16:35:26 +01:00
update json
This commit is contained in:
parent
f2eb4962f3
commit
450e1244cb
@ -129,7 +129,7 @@ end
|
|||||||
|
|
||||||
function show_json(io::StructuralContext, ::TriangleGrpSerialization, G::TriangleGrp)
|
function show_json(io::StructuralContext, ::TriangleGrpSerialization, G::TriangleGrp)
|
||||||
D = DataStructures.OrderedDict{Symbol,Any}(:name => latex_name(G))
|
D = DataStructures.OrderedDict{Symbol,Any}(:name => latex_name(G))
|
||||||
D[:name_uft8] = _to_utf8(D[:name])
|
D[:name_utf8] = _to_utf8(D[:name])
|
||||||
for fname in fieldnames(TriangleGrp)
|
for fname in fieldnames(TriangleGrp)
|
||||||
D[fname] = getfield(G, fname)
|
D[fname] = getfield(G, fname)
|
||||||
end
|
end
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user