Add missing case to Json.Encode.encode
commitf2fb18c2f40248862186e72127827c580bd25507
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateSun 16 Jul 2017, 12:23 (9 years ago)
parent2a6bdde
src/Json/Encode.hs+3
@@ -198,6 +198,9 @@ encodeHelp indent value =
198198 Integer n ->
199199 B.intDec n
200200
201+ Number scientific ->
202+ B.string7 (Sci.formatScientific Sci.Generic Nothing scientific)
203+
201204 Null ->
202205 "null"
203206