FB7L2QQW6L7X4OWANGKN5U4XFLTJ7G3OINZBQEG3ZT53FUIGKAYAC IHVD5VZIQU72CGEGWTFVTI6K2VVZYJHUIBW3GLSCDOFFQGZVLV5QC CIOTARCZGYB3CVH6RMR2IGJ7UBKJAFOACPMCIGMHEXRCL63CKR6AC OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC IOYWCTDEHO4GHC777JYUODJSSHL2SJWYTUG5PQPZOG5HEVR6XXYQC VHQCNMARPMNBSIUFLJG7HVK4QGDNPCGNVFLHS3I4IGNVSV5MRLYQC GQBUV2XOMEPMTXMPCBQWGGIUXGQDX77VTGPFIG6YT7G64ASOYHXQC endendfunction emit_links_in_json_in_consistent_order(outfile, links)--? outfile:write(json.encode(Cache[id].links))local first_written = falseoutfile:write('{')for _,label in pairs(Edge_list) doif links[label] thenif first_written thenoutfile:write(',')elsefirst_written = trueendoutfile:write('"')outfile:write(label)outfile:write('":"')outfile:write(links[label])outfile:write('"')endend-- links we don't know about, just in casefor rel,target in pairs(links) doif Opposite[rel] == nil thenif first_written thenoutfile:write(',')elsefirst_written = trueendoutfile:write('"')outfile:write(rel)outfile:write('":"')outfile:write(target)outfile:write('"')end