Last active
January 29, 2024 11:19
-
-
Save amitaibu/e8a97f5e474679a0e5df706a4fbc87a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance ToJSON Html where | |
toJSON html = String (TL.toStrict $ Renderer.renderHtml html) | |
data-tree={encode someJsonValue} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment