c# - MVC3 Json function hide specific Properties -


is there way in mvc3 set properties json function outputs?

ie. properties on model have attribute tells json function not output them.

it looks scriptignoreattribute want. decorate whatever property don't want serialized it.


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -