--- /dev/null
+#ifndef JSON_SPIRIT_WRITER_OPTIONS\r
+#define JSON_SPIRIT_WRITER_OPTIONS\r
+\r
+// Copyright John W. Wilkinson 2007 - 2011\r
+// Distributed under the MIT License, see accompanying file LICENSE.txt\r
+\r
+// json spirit version 4.05\r
+\r
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)\r
+# pragma once\r
+#endif\r
+\r
+namespace json_spirit\r
+{\r
+ enum Output_options{ pretty_print = 0x01, // Add whitespace to format the output nicely.\r
+\r
+ raw_utf8 = 0x02, // This prevents non-printable characters from being escapted using "\uNNNN" notation.\r
+ // Note, this is an extension to the JSON standard. It disables the escaping of\r
+ // non-printable characters allowing UTF-8 sequences held in 8 bit char strings\r
+ // to pass through unaltered.\r
+\r
+ remove_trailing_zeros = 0x04,\r
+ // outputs e.g. "1.200000000000000" as "1.2"\r
+ single_line_arrays = 0x08,\r
+ // pretty printing except that arrays printed on single lines unless they contain\r
+ // composite elements, i.e. objects or arrays\r
+ };\r
+}\r
+\r
+#endif\r