/* The input JSON value should not be NULL or contain no JSON boolean, otherwise it will ASSERT() and return FALSE. */
BOOLEAN EFIAPI JsonValueGetBoolean(IN EDKII_JSON_VALUE Json)
/* The input JSON value should not be NULL or contain no JSON boolean, otherwise it will ASSERT() and return FALSE. */
BOOLEAN EFIAPI JsonValueGetBoolean(IN EDKII_JSON_VALUE Json)
{
  ASSERT (Json != NULL && JsonValueIsBoolean (Json));
  if ((Json == NULL) || !JsonValueIsBoolean (Json)) {
    return FALSE;
  }
  return json_is_true ((json_t *)Json);
}