/[Frey]/trunk/lib/Frey/View/JSON.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/View/JSON.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 419 by dpavlin, Tue Nov 18 16:55:41 2008 UTC revision 441 by dpavlin, Wed Nov 19 02:05:15 2008 UTC
# Line 16  has data => ( Line 16  has data => (
16    
17  sub markup {  sub markup {
18          my ($self) = @_;          my ($self) = @_;
19          to_json $self->data;          JSON->new->allow_nonref(1)->encode($self->data);
20  }  }
21    
22  1;  1;

Legend:
Removed from v.419  
changed lines
  Added in v.441

  ViewVC Help
Powered by ViewVC 1.1.26