pub fn encode(v: &Val) -> Option<Vec<u8>>
None for anything that is not data, which is the same judgement send makes at the primitive - so a closure reaching here is a bug above.
None
send