json decode javascript date code example Example: find if json property is of type date type Object.prototype.toString.call(date) === '[object Date]'