https://github.com/ebassi/perl-glib-json
Perl bindings for JSON-GLib
https://github.com/ebassi/perl-glib-json
Last synced: about 1 year ago
JSON representation
Perl bindings for JSON-GLib
- Host: GitHub
- URL: https://github.com/ebassi/perl-glib-json
- Owner: ebassi
- Created: 2014-02-14T15:04:34.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-19T19:16:48.000Z (almost 11 years ago)
- Last Synced: 2025-01-18T16:22:52.791Z (about 1 year ago)
- Language: Perl
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Glib::JSON - Perl bindings for JSON-GLib
Glib::JSON is a Perl module providing access to the [JSON-GLib][0] C library
through the introspection data provided by the library itself, and the Perl
Glib::Object::Introspection module.
## Requirements
### Perl modules
* [Glib][perl-glib-git]
* [Glib::Object::Introspection][perl-goi-git]
* [Glib::IO][perl-gio-git]
* Test::Simple
### C libraries
* [GLib][glib-git]
* [JSON-GLib][json-glib-git]
* [GObject-Introspection][goi-git]
## Building Glib::JSON
In order to build from Glib::JSON from Git you will need the [dzil][1] tool
of the Dist::Zilla Perl module installed and available.
### Cloning
$ git clone https://github.com/ebassi/perl-Glib-JSON.git
$ cd perl-Glib-JSON
### Building
$ dzil build
$ dzil test
$ dzil install
## Using Glib::JSON
Simply import Glib::JSON in your Perl script or module:
use Glib::JSON;
Yes, that's it.
## Copyright and license
Copyright © 2014 Emmanuele Bassi
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Library General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option) any
later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
[0]: https://wiki.gnome.org/Projects/JsonGlib
[1]: http://dzil.org/
[perl-glib-git]: https://git.gnome.org/browse/perl-Glib
[perl-goi-git]: https://git.gnome.org/browse/perl-Glib-Object-Introspection
[perl-gio-git]: https://git.gnome.org/browse/perl-Glib-IO
[glib-git]: https://git.gnome.org/browse/glib
[json-glib-git]: https://git.gnome.org/browse/json-glib
[goi-git]: https://git.gnome.org/browse/gobject-introspection