mirror of
				https://github.com/open-source-parsers/jsoncpp.git
				synced 2025-11-04 02:32:19 -05:00 
			
		
		
		
	stackLimit_
This commit is contained in:
		
							parent
							
								
									89b72e1653
								
							
						
					
					
						commit
						99b8e856f6
					
				@ -902,7 +902,8 @@ public:
 | 
			
		||||
  bool strictRoot_;
 | 
			
		||||
  bool allowDroppedNullPlaceholders_;
 | 
			
		||||
  bool allowNumericKeys_;
 | 
			
		||||
};  // OldFeatures
 | 
			
		||||
  int stackLimit_;
 | 
			
		||||
};  // OurFeatures
 | 
			
		||||
 | 
			
		||||
// exact copy of Implementation of class Features
 | 
			
		||||
// ////////////////////////////////
 | 
			
		||||
@ -1853,6 +1854,7 @@ CharReader* CharReaderBuilder::newCharReader() const
 | 
			
		||||
  features.strictRoot_ = settings_["strictRoot"].asBool();
 | 
			
		||||
  features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool();
 | 
			
		||||
  features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool();
 | 
			
		||||
  features.stackLimit_ = settings_["stackLimit"].asInt();
 | 
			
		||||
  return new OurCharReader(collectComments, features);
 | 
			
		||||
}
 | 
			
		||||
static void getValidReaderKeys(std::set<std::string>* valid_keys)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user