Part of a website\'s JSON response had this (... added for context):
{..., now:function(){return(new Date).getTime()}, ...}
Is adding anony
Function expressions in the JSON are completely possible, just do not forget to wrap it in double quotes. Here is an example taken from noSQL database design:
{ "_id": "_design/testdb", "views": { "byName": { "map": "function(doc){if(doc.name){emit(doc.name,doc.code)}}" } } }