whitespace
This commit is contained in:
parent
a2c7cf3977
commit
d64644e01f
1 changed files with 1 additions and 9 deletions
|
@ -21,17 +21,13 @@
|
||||||
%% THE SOFTWARE.
|
%% THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-module(jsx_verify).
|
-module(jsx_verify).
|
||||||
|
|
||||||
|
|
||||||
-export([is_json/2]).
|
-export([is_json/2]).
|
||||||
|
|
||||||
|
|
||||||
-include("jsx_common.hrl").
|
-include("jsx_common.hrl").
|
||||||
-include("jsx_verify.hrl").
|
-include("jsx_verify.hrl").
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-spec is_json(JSON::binary(), Opts::verify_opts()) -> true | false
|
-spec is_json(JSON::binary(), Opts::verify_opts()) -> true | false
|
||||||
; (Terms::list(jsx_encodeable()), Opts::verify_opts()) -> true | false
|
; (Terms::list(jsx_encodeable()), Opts::verify_opts()) -> true | false
|
||||||
|
@ -99,7 +95,6 @@ verify({jsx, [First|Rest], _}, Opts=#verify_opts{naked_values=false}) ->
|
||||||
end;
|
end;
|
||||||
verify({jsx, Terms, _}, Opts) -> verify(Terms, Opts, []).
|
verify({jsx, Terms, _}, Opts) -> verify(Terms, Opts, []).
|
||||||
|
|
||||||
|
|
||||||
verify([end_json], _Opts, _Keys) -> true;
|
verify([end_json], _Opts, _Keys) -> true;
|
||||||
|
|
||||||
%% allocate new key accumulator at start_object, discard it at end_object
|
%% allocate new key accumulator at start_object, discard it at end_object
|
||||||
|
@ -240,7 +235,4 @@ terms_test_() ->
|
||||||
)}
|
)}
|
||||||
].
|
].
|
||||||
|
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue