jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mete Atamel <mata...@adobe.com>
Subject Generalize MicroKernelImpl#toJson method?
Date Tue, 30 Oct 2012 09:28:13 GMT

MicroKernelImpl has a toJson method that takes care of converting nodes to
Json format. It'd be really useful if this method was a public static
method in a separate class (JsonUtil#toJson?) so other MicroKernel
implementations can use it as well. This is quite possible and I already
made sure MicroKernel#toJson works with MongoMicroKernel. The only
MicroKernelImpl specific part in MicroKernelImpl#toJson is when :hash is
being checked and that requires the revision store but if revision store
is provided as an argument to toJson method, toJson can skip the :hash
check when revision store is null.


View raw message