NAME

HiveJSO - HiveJSO Perl Implementation

VERSION

version 0.005

SYNOPSIS

  my @results = HiveJSO->parse($string);

  my ( $obj, $post ) = HiveJSO->parse_seek($buffer);
  if ($obj) {
    $buffer = $post; # leave unparsed data in buffer
    do_something($obj); # do something with the HiveJSO
    # now refeed $buffer, could deliver another object
    # as parse_seek always just seeks the first result
    # the rest stays in $post
  } else {
    # no complete object in buffer yet, need more
  }

DESCRIPTION

See https://github.com/homehivelab/hive-jso for now.

METHODS

parse

Gets out all HiveJSO objects from a string. The returned array also contains, if exist, the text before and after the objects as part of the array as not blessed scalars.

parse_one

parse_seek

SUPPORT

IRC

  Join #hardware on irc.perl.org. Highlight Getty for fast reaction :).

Repository

  http://github.com/homehivelab/p5-hivejso
  Pull request and additional contributors are welcome

Issue Tracker

  http://github.com/homehivelab/p5-hivejso/issues

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Torsten Raudssus.

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