whitespace

This commit is contained in:
alisdair sullivan 2011-08-10 22:45:00 -07:00
parent a2c7cf3977
commit d64644e01f

View file

@ -21,18 +21,14 @@
%% 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
; (F::jsx_iterator(), Opts::verify_opts()) -> true | false. ; (F::jsx_iterator(), 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
@ -241,6 +236,3 @@ terms_test_() ->
]. ].
-endif. -endif.