You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: Xoff [Submitted to the original trac issue database at 5.04pm, Thursday, 26th November 2009]
The json output generated by nominatim wraps strings in single quotes instead of double quotes. While this is still valid javascript code and evaluates perfectly it violates the "standard" described on [http://json.org/].
This might look like nitpicking but it causes the json converter functions in Openlayers and prototypejs to fail because they sanitise the json data based on the json standard before evaluating it.
I think, especially Openlayers is a library that will often be used in combination with nominatim. So, it would be really nice if it were possible to use OpenLayers.Format.JSON to decode the json data returned from nominatim.
The text was updated successfully, but these errors were encountered:
Reporter: Xoff
[Submitted to the original trac issue database at 5.04pm, Thursday, 26th November 2009]
The json output generated by nominatim wraps strings in single quotes instead of double quotes. While this is still valid javascript code and evaluates perfectly it violates the "standard" described on [http://json.org/].
This might look like nitpicking but it causes the json converter functions in Openlayers and prototypejs to fail because they sanitise the json data based on the json standard before evaluating it.
I think, especially Openlayers is a library that will often be used in combination with nominatim. So, it would be really nice if it were possible to use OpenLayers.Format.JSON to decode the json data returned from nominatim.
The text was updated successfully, but these errors were encountered: