[datahub-discuss] Are `True` and `False` intended to be Booleans?

Wouter Beek w.g.j.beek at vu.nl
Tue Feb 3 10:10:06 UTC 2015


Hi everyone,

The Boolean values in JSON are `true` and `false`. Datahub metadata
regularly includes the values `True` and `False` as well. Are these
intended to be Booleans or are they intended to be strings?

An example of a query in which these values occur:
http://datahub.io/api/3/action/license_list
... which includes pairs like:
- "is_osi_compliant": "False"
- "domain_content": "False", etc.

---
​Cheers!,
Wouter Beek.

E-mail: w.g.j.beek at vu.nl
WWW: www.wouterbeek.com
Tel.: 0647674624
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/datahub-discuss/attachments/20150203/c0cd3666/attachment-0002.html>


More information about the datahub-discuss mailing list