You would do this with a JsonAdapter.Factory which...
# squarelibraries
j
You would do this with a JsonAdapter.Factory which checked for the annotation and then conditionally wrapped the delegate JsonAdapter with one that threw and exception upon a null value