with
This registry with registration in it. The same class under the same name again changes nothing, the Json it was first registered with included.
Throws
INVALID_ARGUMENT where the name or the class is taken otherwise, or the class is registered under another write strategy.