/** @file jsoncallbackreader.cpp
*	UX JSON callback reader to set standard options for all UX JSON data
* 	@headerfile jsoncallbackreader.h "EABaseTypesJson/jsoncallbackreader.h"
*	@author Nick Beatty (nbeatty@ea.com)
*
*	UX
*	(c) 2012 Electronic Arts Inc. 
*/

#include "EABaseTypesJson/jsoncallbackreader.h"

namespace EA
{
	namespace Types
	{
		JsonCallbackReader::JsonCallbackReader(EA::Allocator::ICoreAllocator* pAllocator /*= NULL*/, size_t bufferBlockSize /*= 0*/)
			: EA::Json::JsonCallbackReader(pAllocator, bufferBlockSize)
		{
			SetFormatOption(EA::Json::JsonCallbackReader::kFormatOptionAllowComments, 1);
			SetFormatOption(EA::Json::JsonCallbackReader::kFormatOptionEnableHexIntegers, 1);
		}
	}
}
