RFC 7386, part 7: JsonMergePatch: add .fromJson() method
RFC 7386, part 8: JsonMergePatch and derivates: @ParametersAreNonNullByDefault

Also use appropriate messages on null inputs.
RFC 7386, part 9: tests for non object merge patch case

Pretty simple.