Hi,
Here it is no longer statically known that the JSON represents an object since 'replace' returns
JValue. Thus you need a runtime cast. Is it possible to modify your code so that you operate with
JValues instead of JObjects? Then no cast is needed.
Cheers Joni