Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON is decoded as object but worked with as array #33

Open
lcdservices opened this issue Feb 23, 2023 · 1 comment
Open

JSON is decoded as object but worked with as array #33

lcdservices opened this issue Feb 23, 2023 · 1 comment

Comments

@lcdservices
Copy link
Contributor

in CRM_Utils_Geocode_OpenStreetMapCoding::makeRequest() the geocoded API response is retrieved as a JSON string and decoded, but the decoding does not use the associate array option. Later in the code the object is referenced as an array rather than an object, which throws errors.

lcdservices added a commit to lcdservices/de.systopia.osm that referenced this issue Feb 23, 2023
@lcdservices
Copy link
Contributor Author

#34

bjendres added a commit that referenced this issue May 3, 2024
seamuslee001 pushed a commit to seamuslee001/de.systopia.osm that referenced this issue May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant