Closed wasade closed 4 years ago
The summary output for age_cat in Swagger reports as:
age_cat
can't parse JSON. Raw result: [ "teen", "60s", "Not provided", "child", "30s", "50s", "40s", NaN, "20s", "70+", "baby" ]
What I suspect is the object needs to come back as something like
{'category-values': [ "teen", "60s", "Not provided", "child", "30s", "50s", "40s", NaN, "20s", "70+", "baby" ]}
...or something like that
AFAIK (see RFC 8259) an array by itself (not nested inside an object) is valid JSON.
The issue I see above is that there is a NaN value. See #21 . Merging that PR should fix your issue ^_^
Ah good call, merged :)
The summary output for
age_cat
in Swagger reports as:What I suspect is the object needs to come back as something like
...or something like that