Skip to content

Commit

Permalink
Update waspc/src/Wasp/Util/Json.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Šošić <[email protected]>
  • Loading branch information
infomiho and Martinsos authored Sep 27, 2024
1 parent d3fd09f commit bcb33db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waspc/src/Wasp/Util/Json.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import qualified System.Process as P
import Wasp.Util.Aeson (decodeFromString)

-- | Uses Node.js to parse JSON with comments by treating it as a JavaScript object.
-- We used this technique because Aeson can't handle it and we didn't want to write
-- We use this technique because Aeson can't read JSON with comments and we didn't want to write
-- a custom parser.
parseJsonWithComments :: FromJSON a => String -> IO (Either String a)
parseJsonWithComments jsonStr = do
Expand Down

0 comments on commit bcb33db

Please sign in to comment.