serializr icon indicating copy to clipboard operation
serializr copied to clipboard

A token / placeholder (like SKIP)

Open peey opened this issue 4 years ago • 0 comments

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)

peey avatar Mar 16 '21 08:03 peey