The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.