Your array is clearly being rendered in the fashion you are showing above. You have an associative array with numbers as keys (1-3) with sub elements. Now, if you restructure your array like this, I seem to get what you were looking for:
$array = array(
array("comment_id"=>"1","erasable"=>"1","comment"=>"test 1"),
array("comment_id"=>"2","erasable"=>"1","comment"=>"test 1"),
array("comment_id"=>"3","erasable"=>"1","comment"=>"jhghjg")
);
Now we have a non-associative array with associative arrays within.
print_r($array);
renders:
Array
(
[0] => Array
(
[comment_id] => 1
[erasable] => 1
[comment] => test 1
)
[1] => Array
(
[comment_id] => 2
[erasable] => 1
[comment] => test 1
)
[2] => Array
(
[comment_id] => 3
[erasable] => 1
[comment] => jhghjg
)
)
echo json_encode($array);
renders:
[{"comment_id":"1","erasable":"1","comment":"test 1"},
{"comment_id":"2","erasable":"1","comment":"test 1"},
{"comment_id":"3","erasable":"1","comment":"jhghjg"}]