src/FS/File/Configuration/Reader.php
protected function loadJsonFile( $fileName )
	{
		$json	= FS_File_Reader::load( $fileName );
		$array	= ADT_JSON_Converter::convertToArray( $json );
		foreach( $array as $sectionName => $sectionData )
			foreach( $sectionData as $key => $item )
				$this->pairs[$sectionName.".".$key]	= $item['value'];
	}
protected function loadJsonFile( $fileName )
	{
		$json	= FS_File_Reader::load( $fileName );
		$array	= ADT_JSON_Converter::convertToArray( $json );
		foreach( $array as $sectionName => $sectionData )
			foreach( $sectionData as $key => $item )
				$this->pairs[$sectionName.".".$key]	= $item['value'];
	}
protected function loadJsonFile ( $ fileName ) { $ json = FS_File_Reader :: load ( $ fileName ) ; $ array = ADT_JSON_Converter :: convertToArray ( $ json ) ; foreach ( $ array as $ sectionName => $ sectionData ) foreach ( $ sectionData as $ key => $ item ) $ this -> pairs [ $ sectionName . "." . $ key ] = $ item [ 'value' ] ; }
Loads Configuration from JSON File.
@access		protected
@param		string		$fileName		File Name of Configuration File
@return		void
Loads Configuration from JSON File .