Value | Meaning |
---|---|
JSON_WRITER_DEFAULT0 | Default behavior. |
JSON_WRITER_OMIT_BINARY_VALUES1 << 0 | This option instructs the writer that if a Binary value is encountered, the value (and key if within a dictionary) will be omitted from the output, and success will be returned. Otherwise, if a binary value is encountered, failure will be returned. |
JSON_WRITER_OMIT_DOUBLE_TYPE_PRESERVATION1 << 1 | This option instructs the writer to write doubles that have no fractional part as a normal integer (i.e., without using exponential notation or appending a '.0') as long as the value is within the range of a 64-bit int. |
JSON_WRITER_PRETTY_PRINT1 << 2 | Return a slightly nicer formatted json string (pads with whitespace to help with readability). |
Options that can be passed to CefWriteJSON.