{"id":15062284,"url":"https://github.com/karupanerura/toml","last_synced_at":"2025-10-22T09:09:40.684Z","repository":{"id":59149830,"uuid":"12404209","full_name":"karupanerura/toml","owner":"karupanerura","description":"Perl parser for Tom's Obvious, Minimal Language","archived":false,"fork":true,"pushed_at":"2016-03-20T01:41:52.000Z","size":44,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T03:10:21.808Z","etag":null,"topics":["perl","toml"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dlc/toml","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karupanerura.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-27T11:25:25.000Z","updated_at":"2019-06-21T22:22:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/karupanerura/toml","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karupanerura%2Ftoml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karupanerura%2Ftoml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karupanerura%2Ftoml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karupanerura%2Ftoml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karupanerura","download_url":"https://codeload.github.com/karupanerura/toml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235364947,"owners_count":18978269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perl","toml"],"created_at":"2024-09-24T23:33:44.242Z","updated_at":"2025-10-05T04:31:50.561Z","avatar_url":"https://github.com/karupanerura.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/karupanerura/toml.svg?branch=master)](https://travis-ci.org/karupanerura/toml)\n# NAME\n\nTOML - Parser for Tom's Obvious, Minimal Language.\n\n# SYNOPSIS\n\n    use TOML qw(from_toml to_toml);\n\n    # Parsing toml\n    my $toml = slurp(\"~/.foo.toml\");\n    my $data = from_toml($toml);\n\n    # With error checking\n    my ($data, $err) = from_toml($toml);\n    unless ($data) {\n        die \"Error parsing toml: $err\";\n    }\n\n    # Creating toml\n    my $toml = to_toml($data); \n\n# DESCRIPTION\n\n`TOML` implements a parser for Tom's Obvious, Minimal Language, as\ndefined at [https://github.com/mojombo/toml](https://github.com/mojombo/toml). `TOML` exports two\nsubroutines, `from_toml` and `to_toml`,\n\n# FAQ\n\n- How change how to de-serialize?\n\n    You can change `$TOML::PARSER` for change how to de-serialize.\n\n    example:\n\n        use TOML;\n        use TOML::Parser;\n\n        local $TOML::PARSER = TOML::Parser-\u003enew(\n            inflate_boolean =\u003e sub { $_[0] eq 'true' ? \\1 : \\0 },\n        );\n\n        my $data = TOML::from_toml('foo = true');\n\n# FUNCTIONS\n\n- from\\_toml\n\n    `from_toml` transforms a string containing toml to a perl data\n    structure or vice versa. This data structure complies with the tests\n    provided at [https://github.com/mojombo/toml/tree/master/tests](https://github.com/mojombo/toml/tree/master/tests).\n\n    If called in list context, `from_toml` produces a (`hash`,\n    `error_string`) tuple, where `error_string` is `undef` on\n    non-errors. If there is an error, then `hash` will be undefined and\n    `error_string` will contains (scant) details about said error.\n\n- to\\_toml\n\n    `to_toml` transforms a perl data structure into toml-formatted\n    string.\n\n# SEE ALSO\n\n[TOML::Parser](https://metacpan.org/pod/TOML::Parser)\n\n# LICENSE\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License as\npublished by the Free Software Foundation; version 2.\n\nThis program is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n02111-1301 USA\n\n# AUTHOR\n\nDarren Chamberlain \u0026lt;darren@cpan.org\u003e\n\n# CONTRIBUTORS\n\n- Tokuhiro Matsuno \u0026lt;tokuhirom@cpan.org\u003e\n- Matthias Bethke \u0026lt;matthias@towiski.de\u003e\n- Sergey Romanov \u0026lt;complefor@rambler.ru\u003e\n- karupanerura \u0026lt;karupa@cpan.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarupanerura%2Ftoml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarupanerura%2Ftoml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarupanerura%2Ftoml/lists"}