MonoRail doesn't had that attribute; that was Newtonsoft.Json

On Jan 22, 10:08 pm, Joao Paulo Marques <[email protected]>
wrote:
> I think you can use JsonIgnoreAttribute!
>
> On Jan 22, 9:22 am, "c.sokun" <[email protected]> wrote:
>
> > With return: JSONReturnBinder now if I have Order -> OrderItem and we
> > want to get Order #1 we'll get all the OrderItem as well which kind of
> > nice but more than needed.
>
> > I know we can do:
>
> > Response.ContentType = "application/json";
> > RenderText( ..... );
>
> > But if the object have many properties it gonna take time to do this
> > manual work.
>
> > Is it possible to limit only root object should be serialize to JSON?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to