There shouldn't be a difference, it's just two ways to access the same thing.
BTW, with format=json (and format=php) you can add &formatversion=2 to your query to get a data structure that should be more easily usable. See https://www.mediawiki.org/wiki/API:JSON_version_2 for details.
--
Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation