1

I'm getting "JSONRpcClientException: ... circular reference." when serializing my domain objects with JSON. (using jsonrpc1.0).

I'd like to maintain the domain as it is, but need to get JSON-RPC working so I wonder if there is any solution to avoid or skip some fields of a Java class (those circulars) of being serialized to JSON as it is described here for .NET.

Is it posible to use something like ScriptIgnore tags in Java to reach this?

Community
  • 1
  • 1
erramun
  • 61
  • 7
  • 2
    Looks like json-rpc hasn't been maintained for nearly 4 years. Are you sure you want to start using it again? There are other, more current, JSON frameworks for Java. – skaffman Feb 21 '10 at 10:15
  • :( I was afraid of hearing that. Could you recommend any framework in particular for JAVA JSON-RPC? – erramun Feb 21 '10 at 11:22

0 Answers0