On 2015-01-12 09:21, Thomas Mueller wrote:
Hi,

FWIW, the persistent cache doesn't seem to use oak.commons.json...

The persistend cache uses for example NodeDocument.asString and
fromString, which use oak.commons.json.

Regards,
Thomas


Thanks; of course I was looking for direct uses of commons.json, so I didn't see it.

The code in fromString() is helpful in that it shows how to reconstruct the data with proper typing.

Questions:

1) Shouldn't some of this functionality live in oak.commons.json?

2) Why is this restricted to NodeDocument? Shouldn't it apply to all types of documents?

Best regards, Julian

Reply via email to