From 6d71eeccf4c8e0207b17549f7de8e7a0285be1c9 Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Sun, 8 Mar 2020 13:14:17 +0100 Subject: [PATCH] Make the map term more specific --- src/jsx.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsx.erl b/src/jsx.erl index acdf420..5062b02 100644 --- a/src/jsx.erl +++ b/src/jsx.erl @@ -55,7 +55,7 @@ -ifdef(maps_support). -type json_term() :: [{binary() | atom(), json_term()}] | [{},...] | [json_term()] | [] - | map() + | #{ binary() | atom() => json_term() } | true | false | null | integer() | float() | binary() | atom()