Actually the situation I described works just fine for me. (I had been looking at the wrong place in the log, so I incorrectly thought it wasn't working.)
In the case above, if the incoming JSON has no `flag` specified, my POJO `FooBar.flag` is left to `null`, so I know not to update anything. Otherwise, if the `Optional<>` is set to `true` or `false`, I know I need to update to that value. If the value is `Optional.empty()`, I know that the incoming JSON had `flag` set to `null` indicating the value should be deleted, so I remove the value from the database. It's a bit roundabout and semantically suspect, but it's not a horrible hack and it works. -- You received this message because you are subscribed to the Google Groups "jackson-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
