webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
features.h
Go to the documentation of this file.
1 // Copyright 2007-2010 Baptiste Lepilleur
2 // Distributed under MIT license, or public domain if desired and
3 // recognized in your jurisdiction.
4 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5 
6 #ifndef CPPTL_JSON_FEATURES_H_INCLUDED
7 # define CPPTL_JSON_FEATURES_H_INCLUDED
8 
9 #if !defined(JSON_IS_AMALGAMATION)
10 # include "forwards.h"
11 #endif // if !defined(JSON_IS_AMALGAMATION)
12 
13 namespace Json {
14 
20  {
21  public:
27  static Features all();
28 
34  static Features strictMode();
35 
38  Features();
39 
42 
45  };
46 
47 } // namespace Json
48 
49 #endif // CPPTL_JSON_FEATURES_H_INCLUDED
typename detail::all_impl< Sequence, Predicate >::type all
Definition: Brigand.h:902
bool allowComments_
true if comments are allowed. Default: true.
Definition: features.h:41
JSON (JavaScript Object Notation).
Definition: value.h:26
bool strictRoot_
true if root must be either an array or an object value. Default: false.
Definition: features.h:44
#define JSON_API
Definition: config.h:53
Configuration passed to reader and writer. This configuration object can be used to force the Reader ...
Definition: features.h:19