Technically, that would be the CacheBox provider with the JBDC store I bet the serialization/de-serialization is making that happen. Can you dig into that store and find the utility class that it is using to serialize the values and poke around? There are a couple different methods it uses based on whether you are on Railo or ACF I think. If we can narrow down a simple test case that serializes and de-serializes a struct and loses the null values then we may be able to figure out if we can work around it. Unfortunately, I think ACF (if that’s what you’re on) tends to treat null keys in a struct as non-existant so it may be one of those “feature-not-a-bug” things.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com