diff --git a/src/Renderer/JSON.hs b/src/Renderer/JSON.hs index 2cfb21a59..9fb07a163 100644 --- a/src/Renderer/JSON.hs +++ b/src/Renderer/JSON.hs @@ -1,11 +1,15 @@ module Renderer.JSON ( - JSON (JSON, rows) + json ) where import Diff import Row import Source +import Renderer import Renderer.Split -- | JSON representing an aligned diff. data JSON = JSON { rows :: [Row (SplitDiff (Source Char) Info)] } + +json :: Renderer a String +json diff sources = ""