public static JsonNode toJson(Object obj, ClassLoader classLoader) {
        return SerializationUtils.toJson(obj, classLoader);
    }
public static JsonNode toJson ( Object obj , ClassLoader classLoader ) { return SerializationUtils . toJson ( obj , classLoader ) ; }
Serialize an object to {@link JsonNode}, with a custom class loader.

@param obj
@param classLoader
@return