<?php print_r(json_encode( array('aps' => array( 'alert' => array( 'param1'=>array('string'), 'param2'=>'string' ) ) )));
Standard input is empty
{"aps":{"alert":{"param1":["string"],"param2":"string"}}}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!