131132133134135136137138139140141
packScope.enter().withEntity(entity).withJsonWriter(json); try { SerializationContext context = contexts.get(); doPack(entity, context); toReturn = json.get(); context.runPostWork(); context.close(); } finally { packScope.exit(); } return toReturn;
152153154155156157158159160161162
packScope.enter().withEntity(entity).withJsonWriter(json); try { SerializationContext context = contexts.get(); doPack(entity, context); context.runPostWork(); context.close(); } finally { packScope.exit(); } }