Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

NAME

Geo::JSON::Role::ToJson

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.