JSON.stringifyから呼び出され、モデルのattributes属性のコピーを返します。このメソッドはViewに渡す前に属性値を永続化/シリアライズするために使用されます。実際にはJSON文字列を返すわけではないので、メソッド名はいささか混乱を招くかもしれませんが、JavaScriptのtoJSONとJSON.stringifyもそのように動作します。
Created
December 12, 2012 01:54
-
-
Save Layzie/4264179 to your computer and use it in GitHub Desktop.
markdown test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment