what is the point of the javascript in the REST mapping area under the localStorage area on the right side, when you edit it, it shows function(value, element) I can see that if you map to it as if it were an element or localstorage variable the value represents the mapping but what is the element for?
Can I use this to dynamically map to various elements based on the response? ie say a type could be friend, group, document, etc.. can i use this javascript to determine which elements get mapped based on a response type?