Use JSON instead of Jason where possible

In some places, we need pretty printing so it's not possible to remove
the dependency.
This commit is contained in:
Claudio Ortolina
2025-03-23 08:34:25 +00:00
parent 15c20f6803
commit 1f43e1d993
2 changed files with 4 additions and 4 deletions
@@ -4,13 +4,13 @@ defmodule MusicBrainz.Fixtures.Release do
def releases(:queen_greatest_hits) do
Path.join([@fixtures_folder, "releases - queen - greatest hits.json"])
|> File.read!()
|> Jason.decode!()
|> JSON.decode!()
end
def releases(:marbles) do
Path.join([@fixtures_folder, "releases - marillion - marbles.json"])
|> File.read!()
|> Jason.decode!()
|> JSON.decode!()
end
def release(:mystery_of_time) do