1JSON::Create::Bool(3) User Contributed Perl DocumentationJSON::Create::Bool(3)
2
3
4
6 JSON::Create::Bool - Booleans for JSON::Create
7
9 use JSON::Create::Bool;
10
11 my %thing = (yes => true, no => false);
12 print json_create (\%thing);
13
15 This module provides substitute booleans for JSON::Create. These
16 booleans are intended only to be used for generating "true" and "false"
17 literals in JSON output. They don't work very well for other purposes.
18 If you want booleans which can be used for general purposes, please try
19 other modules like boolean.
20
22 "true" and "false" are exported by default.
23
25 See the documentation for JSON::Create for author, copyright, date, and
26 version information.
27
28
29
30perl v5.36.0 2023-01-20 JSON::Create::Bool(3)