fromJson

Parses a JSON document into a ResilienceConfig.