How to override the default JSON serializer/deserializer?

We would like to use our own custom JSON serializer/deseriaizer for JsonDocuments.

This is especially needed in the sub-document API, where there seems to be no way to plug in custom deserialization, as it just allows to pass in the expected class type in the SDK:

 public <T> T content(String path, Class<T> targetClass) 

We would like to be able to deserialize the sub-document part using our custom Jackson ObjectMapper, as that was the same one that was used to serialize it during the save.

Thank you for any suggestions

It’s not entirely streamlined but you can manually create a MutateInBuilder/LookupInBuilder and pass in an implementation of FragmentTranscoder