Michael Jemmeson > Geo-JSON-0.006 > Geo::JSON::Role::ToJson

Download:
Geo-JSON-0.006.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.006   Source  

NAME ^

Geo::JSON::Role::ToJson - Moo::Role providing to_json() methods for a geojson object

VERSION ^

version 0.006

DESCRIPTION ^

Provides the to_json method.

METHODS ^

to_json

    $point->to_json();

    # or with custom JSON codec
    $point->to_json( $codec );

Returns JSON string representing this object.

AUTHOR ^

Michael Jemmeson <mjemmeson@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Michael Jemmeson <mjemmeson@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: