WWW::Metaweb::JSONLikePerl

WWW::Metaweb::JSONLikePerl is a Perl module that can access a JSON string like a Perl structure.
Download

WWW::Metaweb::JSONLikePerl Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Hayden Stainsby
  • Publisher web site:
  • http://search.cpan.org/~hds/WWW-Metaweb-0.02/lib/WWW/Metaweb/JSONLikePerl.pm

WWW::Metaweb::JSONLikePerl Tags


WWW::Metaweb::JSONLikePerl Description

WWW::Metaweb::JSONLikePerl is a Perl module that can access a JSON string like a Perl structure. WWW::Metaweb::JSONLikePerl is a Perl module that can access a JSON string like a Perl structure.SYNOPSIS use strict; use WWW::Metaweb::JSONLikePerl qw(:standard); my json = qq({ "cover_appearances": , "name": "Nico Minoru", "created_by": , "/type/object/creator": "/user/metaweb", "type": "/comic_books/comic_book_character", "id": "/topic/en/nico_minoru" }); my $id = $jsonlp_fetch('->{id}', $json); my new_json; $new_json = jsonlp_replace('->{cover_appearances}->->{name}', $json, 'Mystic Arcana IV: Sister Grimm'); $new_json = jsonlp_insert('->{created_by}', $json, 'Adrian Alphona'); my $second_json = qq({ "query":{ "country":null, "name":99507, "type": } }); $new_json = jsonlp_quote('->{query}->{name}', $second_json, '"'); $new_json = jsonlp_unquote('->{query}->{type}', $second_json); Requirements: · Perl


WWW::Metaweb::JSONLikePerl Related Software