20 Apr 2018 20:54:24 UTC
- Development release
- Distribution: Test-Smoke
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (22)
- Testers (489 / 24 / 2)
- KwaliteeBus factor: 2
- 65.52% Coverage
- License: perl_5
- Activity24 month
- Download (352.25KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:2 non-PAUSE usersABELTJE Abe Timmerman
Test::Smoke::Util::LoadAJSON - A JSON:PP/JSON::XS Factory Class
use Test::Smoke::Util::LoadAJSON; my $json = Test::Smoke::Util::LoadAJSON->new->utf8->pretty->encode(\%data);
This is purely a fallback factory class that helps keep our code clean.
On success returns one of: JSON::XS, JSON::PP
Returns undef on failure.
If a base class is found, will return an instantiated object.
This will die() if no base class could be found.
(c) 2014, All rights reserved.
* Abe Timmerman <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program 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.