---
name: "Forest::Tree::Roles::JSONable"
section: "3pm"
platform: "linux"
package: "libforest-perl"
version: "0.10-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Forest::Tree::Roles::JSONable"
---

# Forest::Tree::Roles::JSONable(3pm)

An abstract role for providing JSON serialization

## NAME

Forest::Tree::Roles::JSONable - An abstract role for providing JSON serialization

## DESCRIPTION

This is just an abstract role for trees capable of JSON serialization.

## REQUIRED METHODS

- **as\_json (?%options)**

  Return a JSON string of the invocant. Takes `%options` parameter to specify the way the tree is to be dumped.

## BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

## AUTHOR

Stevan Little \<stevan.little@iinteractive.com\>

## COPYRIGHT AND LICENSE

Copyright 2008-2014 Infinity Interactive, Inc.

\<http://www.iinteractive.com\>

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