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.