<?php
//The paccount class that the program will use
//Account class definition
class Account {
	public $username;
	//public $password;
	public $passHash;
	public $admin;
	
	public function fillFromJSON($json)
	{
		$obj = json_decode($json);
		$AAobj = json_decode($json, true);

		$this->username = $obj->username;
		//$this->password = $obj->password;
		$this->passHash = $obj->passHash;
		$this->admin = $obj->admin;
	}
}
?>