$extrastylesheet
00001 // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 00002 // Distributed under MIT license, or public domain if desired and 00003 // recognized in your jurisdiction. 00004 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 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 #pragma pack(push, 8) 00014 00015 namespace Json { 00016 00021 class JSON_API Features { 00022 public: 00029 static Features all(); 00030 00037 static Features strictMode(); 00038 00041 Features(); 00042 00044 bool allowComments_; 00045 00048 bool strictRoot_; 00049 00051 bool allowDroppedNullPlaceholders_; 00052 00054 bool allowNumericKeys_; 00055 }; 00056 00057 } // namespace Json 00058 00059 #pragma pack(pop) 00060 00061 #endif // CPPTL_JSON_FEATURES_H_INCLUDED