<?php var_dump(json_decode('[{"id_product":"2","id_decl":"0","quantity":"1","replace":"0"},{"id_product":"1","id_decl":"0","quantity":"1","replace":"0"}]'));
You have javascript disabled. You will not be able to edit any code.