Hi all,The documentation doesn't document the functions json_is_true() and json_is_false()
,---. Rogerz Zhang ( @ @ ) Human, not octopus ).-.( Chase what you love. Let the rest go. '/|||\` Code > Github | Note > Tumblr | Random > twitter 微博 | Share > Google+ '|` AsciiArt < Shimrod(hh)
On Friday, June 1, 2012, Paul Harris wrote:Hi all,The documentation doesn't document the functions json_is_true() and json_is_false()It is documented under the section "Type".The naming of jansson API is very straight forward. If you are using an editor with auto completion, it is quite easy to guess the name of the function. Looking directly in header file or test case is not a bad idea either.
On Friday, June 1, 2012 6:49:17 AM UTC+8, Rogerz Zhang wrote:On Friday, June 1, 2012, Paul Harris wrote:
Hi all,The documentation doesn't document the functions json_is_true() and json_is_false()It is documented under the section "Type".The naming of jansson API is very straight forward. If you are using an editor with auto completion, it is quite easy to guess the name of the function. Looking directly in header file or test case is not a bad idea either.Ah, sorry, I think it was too late when I wrote that message.What I was REALLY asking for, was symmetrical API.* We have json_is_integer() and json_integer_value()* We have json_is_boolean() so I was expecting to find json_boolean_value() which doesn't exist.