and use it for both conversion functions, but in fact list_to_json_array/1 accepts wider range of values than list_from_json_array/1, so I spec'ed them separately.
Thank you and apologies for the delay. I usually get notifications via rss and email but unfortunately both methods broke at the same time and I missed your pull request.
While I was getting rid of dialyzer warnings in my code, I found out that specs from list_to/from_json_array are more strict then success typing.
Initially I thought to introduce new
and use it for both conversion functions, but in fact
list_to_json_array/1
accepts wider range of values thanlist_from_json_array/1
, so I spec'ed them separately.