NAME
Zing::Encoder::Json - JSON Serialization Abstraction
ABSTRACT
JSON Data Serialization Abstraction
SYNOPSIS
use Zing::Encoder::Json;
my $encoder = Zing::Encoder::Json->new;
# $encoder->encode({ status => 'okay' });
DESCRIPTION
This package provides a JSON data serialization abstraction for use with Zing::Store stores.
LIBRARIES
This package uses type constraints from:
METHODS
This package implements the following methods:
decode
decode(Str $data) : HashRef
The decode method decodes the data provided.
encode
encode(HashRef $data) : Str
The encode method encodes the data provided.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".