reformat boolean response values to lower case

reformat boolean response values to lower case
0

Upvotes

Upvote

 Jun 18 2021
0 Comments 
New

JSON standards put boolean responses to lower case (true/false) but some Graph API endpoints return these values as True and False, even null.

 

Adhering to standards will make it easier for consumers of the Graph APIs to quickly integrate them with applications by requiring less interpretive logic. At a minimum, boolean fields should always be non-nullable.