This project has moved and is read-only. For the latest updates, please go here.

Serialization failing with nHibernate / Spring AOP proxies

Sep 27, 2012 at 4:00 PM

We are having a problem serializing nHibernate / Spring AOP proxies in that we get an error when serializing a collection that contains these types of objects.

If we change the lazy attribute on the collection to 


then everything works as expected.

It would nice however to have the JSON library recognize the AOP proxy and force it to be hydrated as expected.

Anyone else seen this problem and have a solution for it.