Skip to content

Instantly share code, notes, and snippets.

Created November 5, 2014 09:17
What would you like to do?
{Field, list_to_binary(wf:q(Field))}).
fun(Field) when is_atom(Field) ->
FieldB = erlang:atom_to_binary(Field,utf8),
Val = proplists:get_value(FieldB, JSON_TERM),
{Field, Val}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment