Skip to content

Commit b459ee4

Browse files
paulswartzmichalmuskala
authored andcommitted
add type for strings option
1 parent 44e188c commit b459ee4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/jason.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ defmodule Jason do
1010

1111
@type keys :: :atoms | :atoms! | :strings | :copy | (String.t() -> term)
1212

13-
@type decode_opt :: {:keys, keys}
13+
@type strings :: :reference | :copy
14+
15+
@type decode_opt :: {:keys, keys} | {:strings, strings}
1416

1517
alias Jason.{Encode, Decoder, DecodeError, EncodeError}
1618

0 commit comments

Comments
 (0)