Currently (1.9) you will need to write your own serializer, deserializer, to handle this. There is no ready-made support for handling object identity.
Of the Java frameworks, the only thing I know for supporting object identifiers is XStream .
For what it's worth, there is a long-standing feature request for Jackson to add support. And there are reasonable chances that this will work out for 2.0. But even if this happens, it will take some time (a month or two).
UPDATE (April 2013): According to another accepted answer, this function - @JsonIdentityInfo - was indeed included in Jackson 2.0 and is available. No need for custom (de) serializers.
source share