Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use JSON;
    ...
    $_ = '{"temp":75.50,"tmode":2,"fmode":0,"override":0,"hold":0,"t_cool"
    +:75.00,"tstate":0,"fstate":0,"time":{"day":4,"hour":13,"minute":49},"
    +t_type_post":0}';
    
    print Dumper decode_json ($_);
    
  2. or download this
    $VAR1 = {
              'fstate' => 0,
              't_cool' => '75',
    ...
              'tstate' => 0,
              't_type_post' => 0
            };
    
  3. or download this
    use strict;
    use warnings;
    use JSON;
    ...
        
        print "________\n";
    }
    
  4. or download this
    Temperature: 75.5
    Tmode:       2
    Fmode:       0
    ...
    minute:      49
    t_type_post  0
    ________