瀏覽代碼

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 年之前
父節點
當前提交
40e8204956
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/jiffy.erl

+ 1
- 1
src/jiffy.erl 查看文件

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

Loading…
取消
儲存