serializr
serializr copied to clipboard
A token / placeholder (like SKIP)
I have a situation where while serializing I do not need to store any json for a property, but while deserializing my custom deserializer wants to store something.
e.g.
custom ( () => '', () => something );
I'm using '' as the token value. Before this I tried SKIP only to discover that skipping means that deserialzation isn't invoked (possibly because the property is skipped)
I was just wondering if there is another token / placeholder like SKIP that I can use instead of '' (in case this use-case comes up often)