public function testParseJSON()
{
$this->assertEquals((object) ['a' => true], \Airship\parseJSON('{"a":true}'));
$this->assertSame(['a' => true], \Airship\parseJSON('{"a":true}', true));
$this->assertSame(['a' => true], \Airship\parseJSON('{"a":true/*, "b": false */}', true));
$this->assertSame(['a' => true], \Airship\parseJSON('
{
"a":true
/*, "b": false */
}', true));
$this->assertSame(['a' => true], \Airship\parseJSON('
{
"a":true
//, "b": false
}', true));
$this->assertSame(['a' => true, 'b' => false], \Airship\parseJSON('
{
"a":true,
"b": false
//, "c": false
}', true));
}