I am working with a jax-rs rest service.
Is there a best practice for how to specify null values in a REST GET request.
E.g. if I have an address resource that contains addresses that can have null values in streetNumber. And I have an endpoint
../address?streetName=foostreet
which gives me multiple hits in the response out of which one has a null value in the field.
How do I design an api that lets me search for this particular address, without introducing magic stringvalues like "NULL" or "EMPTY" that are to be parsed on the server as null.