Skip to content

Commit bee3481

Browse files
committed
Improve wording on string/number conversions.
1 parent 13d39a9 commit bee3481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/JSON/Tiny.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ hash reference, and will try to call the L<TO_JSON> method on blessed
3636
references, or stringify them if it doesn't exist.
3737

3838
Differentiating between strings and numbers in Perl is hard; depending on how
39-
it has been used, a scalar can be both at the same time. The string value gets
40-
precedence unless both representations are equivalent.
39+
it has been used, a scalar can be both at the same time. The string value has a
40+
higher precedence unless both representations are equivalent.
4141

4242
[1, -2, 3] -> [1, -2, 3]
4343
{"foo": "bar"} -> {foo => 'bar'}

0 commit comments

Comments
 (0)