toJSON (). It returns an array containing the attributes hash of each model in the collection using JSON format. Syntax:.
確定! 回上一頁