burningmantech / burning-man-innovators

Use the issues in this repo for feature requests and bug reports relating to datasets and apis provided at https://innovate.burningman.org
3 stars 0 forks source link

Ensure all art installation names are encoded as strings #1

Open warpfactorfive opened 5 years ago

warpfactorfive commented 5 years ago

Describe the bug Out of nearly 400 art installation entries, all but one were encoded in the JSON data as strings. One entry was encoded as a number.

To Reproduce Get the API response: https://api.burningman.org/api/v1/art?year=2018 Search for 3.14 examine the entry's "name" field

Expected behavior Should be a string, ie "name": "3.14", Is actually encoded as a number: "name": 3.14,

lostways commented 5 years ago

Thanks for pointing this out. We are working on fixing this. It exposes a more general issue with the validation of types in the returning JSON.

jeremedia commented 1 year ago

I suggest ensuring all names are encoded as strings, not just art installations.

ametabaron commented 2 weeks ago

same for camps. 2 camps have a numeric name: