Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


Bing Maps Rest Geocoding Service - JSON vs XML
JSON vs XML - which should you use to access the Bing Maps Rest Geocoding Service?

I ran some tests and here is what I found.

Time to geocode 1000 addresses using output=xml: 00:02:09.2079195
Time to geocode 1000 addresses using output=json: 00:02:21.7681754

I did a few more tests and the results were consistent. Fetching data from bing via XML returned a response about 10% faster than JSON. So it looks like XML is the way to go, for whatever reason.

(This seems unintuitive, but the output and parsing sizes were pretty similar, so it must be something on their end with building the JSON).

Created By: amos 11/19/2014 12:56:49 PM