Geo::JSON::Role::ToJson - Moo::Role providing to_json() methods for a geojson object
version 0.006
Provides the to_json method.
to_json
$point->to_json(); # or with custom JSON codec $point->to_json( $codec );
Returns JSON string representing this object.
Michael Jemmeson <mjemmeson@cpan.org>
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.
To install Geo::JSON, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::JSON
CPAN shell
perl -MCPAN -e shell install Geo::JSON
For more information on module installation, please visit the detailed CPAN module installation guide.