Skip to content

Commit 40e8204

Browse files
committed
Make jiffy:json_raw() public
jiffy:json_raw is a reference(), so its opaqueness is stored within it. With this change, it allows to check if a subterm is a json_raw with is_reference/1
1 parent 4054bc3 commit 40e8204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jiffy.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
-type json_string() :: atom() | binary().
2323
-type json_number() :: integer() | float().
2424
%% json_raw() is only returned when using options 'partial' or 'max_levels'
25-
-opaque json_raw() :: reference().
25+
-type json_raw() :: reference().
2626

2727
-ifdef(JIFFY_NO_MAPS).
2828

0 commit comments

Comments
 (0)