Man Page: tm::materialized::jtm
Operating Environment: debian
Section: 3pm
TM::Materialized::JTM(3pm) User Contributed Perl Documentation TM::Materialized::JTM(3pm)NAMETM::Materialized::JTM - Topic Maps, trait for JSON Topic Map instances.SYNOPSISuse TM::Materialized::JTM; my $tm=TM::Materialized::JTM(file=>"somefile.jtm"); $tm->sync_in; ... # map was modified, now save the changes $tm->sync_out;DESCRIPTIONThis package provides map parsing and creating functionality for JTM (JSON Topic Map) instances. The JSON Topic Map format is defined here: <http://www.cerny-online.com/jtm/1.0/>.INTERFACEMethods Constructor $tm = TM::Materialized::JTM->new (...); The constructor expects a hash as described in TM::Materialized::Stream, with one additional key/value parameter: o format (choices: "json", "yaml") This option controls whether the JTM data is treated as being in JSON format or in YAML (which is a superset of JSON). This applies to both reading and writing of map data. The default value is "json". format $tm->format('json'); $curformat=$tm->format; This method gets or sets the format parameter for future operations. Possible choices: "json", "yaml".SEE ALSOTM::Serializable::JTMAUTHOR INFORMATIONCopyright 2010, Alexander Zangerl, All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html perl v5.10.1 2010-07-18 TM::Materialized::JTM(3pm)
| Related Man Pages |
|---|
| json_xs(1p) - debian |
| rdf::trine::iterator::bindings::materialized(3pm) - debian |
| tm::coverage(3pm) - debian |
| tm::resourceable::mldbm(3pm) - debian |
| tm::serializable::jtm(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| "Off Topic" discussions.... |
| Off-Topic Section? Holy hell, I've been gone a while... |
| Json-lib 2.2.1 (Default branch) |
| Split JSON to different data files |
| Simplified file conversion |