3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $request = array( 'Name' => "Test", 'Description' => "Hi", 'Project' => array('Id' => 13197), // PSO project 'AssignedTeams' => array( array( 'Team' => array('Id' => 15) ) ) ); $json = json_encode($request); echo "JSON payload: " . $json . "<br><br>"; ?>
based on tTlvB
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
JSON payload: {"Name":"Test","Description":"Hi","Project":{"Id":13197},"AssignedTeams":[{"Team":{"Id":15}}]}<br><br>