The Miami Heat will dump Josh McRoberts on the Dallas Mavericks to create more room to re-sign James Johnson. Here are NBA Trade Grades for both sides.

After agreeing to sign Kelly Olynyk to an unexpected deal worth $50 million over four years, many wondered what that would mean for James Johnson, an unrestricted free agent in the Miami Heat‘s frontcourt who was deserving of a nice payday after a breakout 2016-17 season.

However, Heat fans had little to fear from the signing, as it was quickly reported by Ira Winderman of the South Beach Sun Sentinel that the team intended to re-sign Johnson on top of Dion Waiters‘ and Olynyk’s agreed-upon deals.

However, the Heat needed to free up enough cap space to do so. In a potential trade with the Dallas Mavericks, there were initial fears that Tyler Johnson‘s backloaded contract could be a prime candidate to be on the move.

Fortunately, The Vertical‘s Shams Charania soon reported that Tyler Johnson would not be included in the agreed-upon exchange, with the Heat ready to send Josh McRoberts and a future second round draft pick to Dallas for A.J. Hammons.

Mavericks Get PF - Josh McRoberts

Future 2nd round pick Heat Get C - A.J. Hammons

The question is, which side got the better end of this minor deal (which has yet to be made official)? To sort out how this affects Miami’s free agency and why the Mavs would engage in a salary dump like this, here are NBA Trade Grades for both sides.