src/ADT/VCard.php
public function fromJson( $json )
	{
		$this->__construct();
		$data	= json_decode( $json, TRUE );
		foreach( $this->types as $key => $value )
			if( isset( $data[$key] ) )
				$this->types[$key]	= $data[$key];
	}
public function fromJson( $json )
	{
		$this->__construct();
		$data	= json_decode( $json, TRUE );
		foreach( $this->types as $key => $value )
			if( isset( $data[$key] ) )
				$this->types[$key]	= $data[$key];
	}
public function fromJson ( $ json ) { $ this -> __construct ( ) ; $ data = json_decode ( $ json , TRUE ) ; foreach ( $ this -> types as $ key => $ value ) if ( isset ( $ data [ $ key ] ) ) $ this -> types [ $ key ] = $ data [ $ key ] ; }
Imports VCard from JSON String.
@access		public
@param		string		$json					JSON String
@return		void
Imports VCard from JSON String .