After opting out of his player option, LeBron James has re-signed with the Los Angeles Lakers on a two-year deal.