++ed by:
BEROV HAMMER AZJADFTRE XYF SKOLYCHEV

13 PAUSE users
5 non-PAUSE users.

Yuki Kimoto

NAME

SPVM::JSON::Bool - JSON Bool

SYNOPSYS

  my $json_true = SPVM::JSON::Bool->TRUE;
  my $json_false = SPVM::JSON::Bool->FALSE;
  
  my $bool_value = $bool_object_true->val;

METHODS

TRUE

  sub TRUE : SPVM::JSON::Bool ()

Get SPVM::JSON::Bool object with true value.

FALSE

  sub FALSE : SPVM::JSON::Bool ()

Get SPVM::JSON::Bool object with false value.

METHODS

val

  sub val : int ($self : self)

If Bool object has true value, return 1, else return 0.