• David Vickrey's avatar
    Add control of floating point serialization to JSON serialization · 46526221
    David Vickrey authored
    Summary: Title.  Note that this is a no-op with default parameters because folly::toAppend(double, &dest) calls folly::toAppend(double, &dest, DtoaMode, numDigits) with DtoaMode = SHORTEST and numDigits = 0.
    
    Test Plan: Tested new functionality in D1212547.
    
    Reviewed By: kelarini@fb.com
    
    FB internal diff: D1212617
    46526221
json.h 4.26 KB