package SPVM::JSON::Bool {
  our $TRUE : ro SPVM::JSON::Bool;
  our $FALSE : ro SPVM::JSON::Bool;
  has val : ro int;
  
  BEGIN {
    # Singleton true
    $TRUE = new SPVM::JSON::Bool;
    $TRUE->{val} = 1;
    
    # Singleton false
    $FALSE = new SPVM::JSON::Bool;
    $FALSE->{val} = 0;
  }
}
