Japan
CHAPTER IIIRIGHTS AND DUTIES OF THE PEOPLEArticle 38. Confession made under compulsion, torture or threat, or after prolonged arrest or detention shall not be admitted in evidence.
Rights during investigation - not to be subjected to any form of coercion, duress or threat, to torture or to any other form of cruel, inhuman or degrading treatment or punishment
EDIT.