Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef CPPTL_JSON_FEATURES_H_INCLUDED
00007 #define CPPTL_JSON_FEATURES_H_INCLUDED
00008
00009 #if !defined(JSON_IS_AMALGAMATION)
00010 #include "forwards.h"
00011 #endif // if !defined(JSON_IS_AMALGAMATION)
00012
00013 namespace Json {
00014
00019 class JSON_API Features {
00020 public:
00027 static Features all();
00028
00035 static Features strictMode();
00036
00039 Features();
00040
00042 bool allowComments_;
00043
00046 bool strictRoot_;
00047
00049 bool allowDroppedNullPlaceholders_;
00050
00052 bool allowNumericKeys_;
00053 };
00054
00055 }
00056
00057 #endif // CPPTL_JSON_FEATURES_H_INCLUDED