• Michael Thon's avatar
    Allow options for writing and parsing NaN/Infinity · 135da7ab
    Michael Thon authored
    This adds kWriteNanAndInfFlag to Writer to allow writing of nan,
    inf and -inf doubles as "NaN", "Infinity" and "-Infinity",
    respectively, and kParseNanAndInfFlag to Reader to allow parsing
    of "NaN", "Inf", "Infinity", "-Inf" and "-Infinity". This is part
    of issue #36, adding optional support for relaxed JSON syntax.
    135da7ab
dom.md 15 KB