NAME

PickLE::Exporter::JSON - Converts a PickLE document to JSON.

METHODS

$%json = PickLE::Exporter::JSON->as_hash($document)

Converts a PickLE $document into a hash reference that can be easily converted to JSON by any of the common libraries.

$json_str = PickLE::Exporter::JSON->as_string($document)

Converts a PickLE $document into a JSON string.

AUTHOR

Nathan Campos <nathan@innoveworkshop.com>

COPYRIGHT

Copyright (c) 2022- Nathan Campos.