Browse Source

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
pull/195/head
Jose M Perez 4 years ago
parent
commit
40e8204956
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/jiffy.erl

+ 1
- 1
src/jiffy.erl View File

@ -22,7 +22,7 @@
-type json_string() :: atom() | binary(). -type json_string() :: atom() | binary().
-type json_number() :: integer() | float(). -type json_number() :: integer() | float().
%% json_raw() is only returned when using options 'partial' or 'max_levels' %% json_raw() is only returned when using options 'partial' or 'max_levels'
-opaque json_raw() :: reference().
-type json_raw() :: reference().
-ifdef(JIFFY_NO_MAPS). -ifdef(JIFFY_NO_MAPS).

Loading…
Cancel
Save