[OSM-dev] Nominatim json -- coment
Peter Körner
osm-lists at mazdermind.de
Fri Feb 26 13:44:44 GMT 2010
Brian Quinion schrieb:
>> /* Data Copyright OpenStreetMap Contributors, Some Rights Reserved.
>> CC-BY-SA 2.0. */
>
> This content needs to be in the file. Feel free to suggest
> alternative ways to format or present it but I don't think straight
> removal is possible.
>
>> This breaks one of our tools that uses the php json_decode function, as
>> comments are not part of the json spec. I'd like to ask politely to
>> remove this comment.
>
> I'm uncertain why the json version would be parsed by anything but
> javascript - why not use the xml version?
Because we already developed a tool that bases on the json response and
now it's broken. Why do you offer the "json" response type if you don't
deliver json? this is neither javascript (it's lacking an assignment
operator) nor json, so even the Mime-Type it's delivered with is not
correct.
Peter
More information about the dev
mailing list