| 
      
            Lines 353-367
          sub TO_JSON {
      
      
        Link Here
      
     | 
  
        
          | 353 | 
                          ? Mojo::JSON->true  | 
          353 | 
                          ? Mojo::JSON->true  | 
        
        
          | 354 | 
                          : Mojo::JSON->false;  | 
          354 | 
                          : Mojo::JSON->false;  | 
        
        
          | 355 | 
                  }  | 
          355 | 
                  }  | 
        
            
              | 356 | 
                      elsif ( _numeric_column_type( $columns_info->{$col}->{data_type} ) | 
               | 
               | 
            
            
              | 357 | 
                          and looks_like_number( $unblessed->{$col} ) | 
            
            
              | 358 | 
                      ) { | 
            
            
              | 359 | 
               | 
            
            
              | 360 | 
                          # TODO: Remove once the solution for  | 
            
            
              | 361 | 
                          # https://rt.cpan.org/Ticket/Display.html?id=119904  | 
            
            
              | 362 | 
                          # is ported to whatever distro we support by that time  | 
            
            
              | 363 | 
                          $unblessed->{$col} += 0; | 
            
            
              | 364 | 
                      }  | 
            
        
          | 365 | 
                  elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) { | 
          356 | 
                  elsif ( _datetime_column_type( $columns_info->{$col}->{data_type} ) ) { | 
        
        
          | 366 | 
                      eval { | 
          357 | 
                      eval { | 
        
        
          | 367 | 
                          return unless $unblessed->{$col}; | 
          358 | 
                          return unless $unblessed->{$col}; | 
        
            
              | 368 | 
              -   | 
               | 
               |