YAWS json vs json2

Have a Erlang YAWS project that uses the json/json2 modules?  Notice some weirdness after upgrading to json2?  Yep , me too. In the original json you might do something like this: case json:decode_string(JSONdata) of {ok, {struct, Data}} -> [Field1,Field2] = [ proplists:get_value(X, Data) || X <- [field1,field2] ], in order to access the values in […]