Changeset 91 in bookmarks for trunk/lib/Bookmarks/List.pm


Ignore:
Timestamp:
06/05/15 19:32:33 (9 years ago)
Author:
peter
Message:

change TO_JSON() method name to to_hashref() to emphasize its multiple uses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Bookmarks/List.pm

    r88 r91  
    9797    my $json = decode_utf8( 
    9898        JSON->new->utf8->convert_blessed->encode({ 
    99             bookmarks => $self->results, 
     99            bookmarks => [ map { $_->to_hashref } @{ $self->results } ], 
    100100        }) 
    101101    ); 
Note: See TracChangeset for help on using the changeset viewer.