Conforming to the Android org.json API.