JSON has been developed to make it as similar as possible to the data structures used in day to day computing and hence it is easier for the computer to operate on it. But this same benefit deems it less human-readable and less flexible as compared to XML.