Returning actual JSON booleans via REST (issue 3154)

Matt Spinler mspinler at linux.vnet.ibm.com
Fri Jun 29 01:06:07 AEST 2018


Hello,

I have some code up for review, 
https://gerrit.openbmc-project.xyz/#/c/11267, that
will fix the behavior of booleans being represented in the REST response 
JSON as a 1/0
instead of the proper JSON true/false.

While this does change behavior possibly after some systems have already 
deployed,
it was wrong before and I would propose it's better late to fix it than 
never.

But, I would like to know if anyone has any strong arguments for leaving 
it how it is?
Otherwise, I guess just be on the lookout for this commit going in if it 
affects your tools.



More information about the openbmc mailing list