Util: Add to_bool() and use it for JSON, Pg & query encoding
To improve interop with legacy modules.
This commit is contained in:
parent
06e2f950fe
commit
c7a3415485
10 changed files with 141 additions and 37 deletions
|
|
@ -58,7 +58,7 @@ my @tests = (
|
|||
);
|
||||
|
||||
my @errors = (
|
||||
\1, qr/unable to format reference/,
|
||||
\2, qr/unable to format reference/,
|
||||
*STDOUT, qr/unable to format unknown value/,
|
||||
'NaN'+0, qr/unable to format floating point NaN or Inf as JSON/,
|
||||
'Inf'+0, qr/unable to format floating point NaN or Inf as JSON/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue