From 06bb658e35eb2fe9b12e516b2daa39b402f69383 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Fri, 20 Sep 2013 22:02:14 -0700 Subject: [PATCH] formatting fixes cleanup line spacing --- src/jsx.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jsx.erl b/src/jsx.erl index fe48bc5..cbde6b6 100644 --- a/src/jsx.erl +++ b/src/jsx.erl @@ -71,6 +71,7 @@ to_json(Source, Config) -> encode(Source, Config). -spec term_to_json(Source::json_term()) -> json_text() | {incomplete, encoder()}. -spec term_to_json(Source::json_term(), Config::jsx_to_json:config()) -> json_text() | {incomplete, encoder()}. + term_to_json(Source) -> encode(Source, []). term_to_json(Source, Config) -> encode(Source, Config).