Closed jakewilliami closed 3 years ago
You have duplicated dictionary keys, for example "CSS"
.
@KristofferC I noticed that after submitting the issue, sorry. This means there is only one element missing.
I am having trouble finding the culprit, but here are the obtained keys
from the JSON file, using respectively JSON
and LazyJSON
:
json = ["JAVA", "C", "PERL", "JULIA", "AWK", "NORM", "ITRED", "ASSEMBLY", "SED", "OBJECTIVEC", "BRED", "BATCHFILE", "YACC", "OBJECTIVECPP", "CPP", "TEX", "RUST", "SHELL", "ITYELLOW", "GO", "DULL", "SCHEME", "DARKBBLUE", "PHP", "COMMONLISP", "LISP", "CSS", "SMPL", "HASKELL", "CSHARP", "PYTHON", "LEX", "EMACSLISP", "ELIXIR", "TEXT", "COFFEESCRIPT", "ULINE", "IT", "POWERSHELL", "D", "BGREEN", "FSHARP", "LUA", "DTRACE", "OCAML", "FLASHING", "MARKDOWN", "CUDA", "ERLANG", "MAKEFILE", "BWHITE", "SWIFT", "JAVASCRIPT", "TYPESCRIPT", "ITWHITE", "RUBY", "MATLAB", "BYELLOW", "HTML", "ROFF", "BBLUE", "R"]
lazyjson = ["BGREEN", "ULINE", "IT", "DULL", "FLASHING", "BWHITE", "ITWHITE", "BYELLOW", "ITYELLOW", "BRED", "ITRED", "BBLUE", "DARKBBLUE", "NORM", "JULIA", "PYTHON", "JAVA", "RUST", "HASKELL", "SHELL", "PERL", "RUBY", "ELIXIR", "COMMONLISP", "LISP", "EMACSLISP", "LUA", "C", "CPP", "CSHARP", "R", "JAVASCRIPT", "BATCHFILE", "TEX", "TEXT", "MARKDOWN", "OBJECTIVEC", "ASSEMBLY", "ROFF", "MAKEFILE", "SWIFT", "YACC", "DTRACE", "AWK", "SMPL", "SED", "LEX", "D", "COFFEESCRIPT", "ERLANG", "HTML", "GO", "SCHEME", "TYPESCRIPT", "POWERSHELL", "PHP", "DTRACE", "CSS", "FSHARP", "MATLAB", "CUDA", "OCAML", "OBJECTIVECPP"]
Ohh, I think I have another duplicate entry: "DTRACE"
. Sorry about this guys...
Hi, I haven't done very much debugging yet sorry, but I am trying to read this file, but it is reading two fewer elements than is in the file.