Flow123d
DF_patch_fe_data_tables-b678bc1
src
input
json_spirit
json_spirit_writer_options.h
Go to the documentation of this file.
1
#ifndef JSON_SPIRIT_WRITER_OPTIONS
2
#define JSON_SPIRIT_WRITER_OPTIONS
3
4
// Copyright John W. Wilkinson 2007 - 2011
5
// Distributed under the MIT License, see accompanying file LICENSE.txt
6
7
// json spirit version 4.05
8
9
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
10
# pragma once
11
#endif
12
13
namespace
json_spirit
14
{
15
enum
Output_options
{
pretty_print
= 0x01,
// Add whitespace to format the output nicely.
16
17
raw_utf8
= 0x02,
// This prevents non-printable characters from being escapted using "\uNNNN" notation.
18
// Note, this is an extension to the JSON standard. It disables the escaping of
19
// non-printable characters allowing UTF-8 sequences held in 8 bit char strings
20
// to pass through unaltered.
21
22
remove_trailing_zeros
= 0x04,
23
// outputs e.g. "1.200000000000000" as "1.2"
24
single_line_arrays
= 0x08,
25
// pretty printing except that arrays printed on single lines unless they contain
26
// composite elements, i.e. objects or arrays
27
};
28
}
29
30
#endif
json_spirit
Definition:
json_spirit_error_position.h:16
json_spirit::Output_options
Output_options
Definition:
json_spirit_writer_options.h:15
json_spirit::single_line_arrays
@ single_line_arrays
Definition:
json_spirit_writer_options.h:24
json_spirit::raw_utf8
@ raw_utf8
Definition:
json_spirit_writer_options.h:17
json_spirit::remove_trailing_zeros
@ remove_trailing_zeros
Definition:
json_spirit_writer_options.h:22
json_spirit::pretty_print
@ pretty_print
Definition:
json_spirit_writer_options.h:15
Generated by
1.9.1