If the obj is or contains a non-supported type, then the converter block is called with the object and an instance of the Encoder class. The converter is not called for map keys, which must still be strings.
The converter block is passed an object to be serialized and an instance of the Encoder class. If it returns a non-null value, that value will be serialized instead of the object that was passed in. Alternatively, the converter block can call the Encoder.encode, Encoder.put-list, or Encoder.put-unquoted methods on the encoder.
If the obj is or contains a non-supported type, then the converter block is called with the object and an instance of the Encoder class. The converter is not called for map keys, which must still be strings.
The converter block is passed an object to be serialized and an instance of the Encoder class. If it returns a non-null value, that value will be serialized instead of the object that was passed in. Alternatively, the converter block can call the Encoder.encode, Encoder.put-list, or Encoder.put-unquoted methods on the encoder.
If the obj is or contains a non-supported type, then the converter block is called with the object and an instance of the Encoder class. The converter is not called for map keys, which must still be strings.
The converter block is passed an object to be serialized and an instance of the Encoder class. If it returns a non-null value, that value will be serialized instead of the object that was passed in. Alternatively, the converter block can call the Encoder.encode, Encoder.put-list, or Encoder.put-unquoted methods on the encoder.