package JSON::MaybeUTF8;
# ABSTRACT: Simple wrapper for explicit JSON Unicode text/UTF-8 byte functions
use strict;
use warnings;
our $VERSION = '2.000';
=head1 NAME
JSON::MaybeUTF8 - provide expl
icit text/UTF-8 JSON functions
=head1 SYNOPSIS
use JSON::MaybeUTF8 qw(:v1);
binmode STDOUT, ':encoding(UTF-8)';
binmode STDERR, ':raw';
(*STDOUT)->print(encode_json_text({ text => '...' }));
(*
TDERR)->print(encode_json_utf8({ text => '...' }));
=head1 DESCRIPTION
Combines L<JSON::MaybeXS> with L<Unicode::UTF8> to provide
4 functions that handle the combinations of JSON and UTF-8
encoding/