NAME

JSON::JOM::Plugins::ListUtils - treat JOM nodes as lists

DESCRIPTION

This JOM plugin adds the following method to JOM objects and arrays:

  • count - the length of the list.

  • values - all values as a Perl list.

It adds the following method to JOM objects only:

  • keys - all hash keys as a Perl list.

BUGS

Please report any bugs to http://rt.cpan.org/.

SEE ALSO

JSON::JOM, JSON::JOM::Plugins.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT

Copyright 2010 Toby Inkster

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