src/Synthesize.php
public function setupWithJSON($strData){
		if($arrData = json_decode($strData, true)){
			$this->setupWithArray($arrData);
		}else{
			throw new InvalidJSONException($strData);
		}
	}
public function setupWithJSON($strData){
		if($arrData = json_decode($strData, true)){
			$this->setupWithArray($arrData);
		}else{
			throw new InvalidJSONException($strData);
		}
	}
public function setupWithJSON ( $ strData ) { if ( $ arrData = json_decode ( $ strData , true ) ) { $ this -> setupWithArray ( $ arrData ) ; } else { throw new InvalidJSONException ( $ strData ) ; } }
Setup With JSON Method

Sets up the object using a string of JSON.
@param string $strData The options in JSON.
@return void
Setup With JSON Method