Fix erroneous JSON data loading #5

Merged
seabass merged 1 commits from seabass/matchbot:fix-json-loading into master 2022-03-29 21:15:14 +02:00

1 Commits

Author SHA1 Message Date
Sebastian Crane 6cce43f137 Move processing out of clojure.data.json/read call
This commit removes from the call to clojure.data.json/read the
conversion of the serialised list of players into a Clojure set, and
adds an independent function to do this task instead.

Since the structure of the serialised data is known in advance, the
recursive characteristics of clojure.data.json are not needed.

Resolves issue #4

Signed-off-by: Sebastian Crane <seabass-labrax@gmx.com>
2022-03-28 21:52:52 +01:00