Get JSON object from URL

For this to work, file_get_contents requires that allow_url_fopen is enabled. This can be done at runtime by including: You can also use curl to get the url. To use curl, you can use the example found here:

JSON and escaping characters

This is not a bug in either implementation. There is no requirement to escape U+00B0. To quote the RFC: 2.5. Strings The representation of strings is similar to conventions used in the C family of programming languages. A string begins and ends with quotation marks. All Unicode characters may be placed within the quotation marks … Read more