Przeglądaj źródła

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 lat temu
rodzic
commit
40e8204956
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/jiffy.erl

+ 1
- 1
src/jiffy.erl Wyświetl plik

@ -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).

Ładowanie…
Anuluj
Zapisz