Json.reads[Foo] with all optional parameters will not actually validate that the input is an object. Instead for non-object inputs it will assume all the optional parameters are not provided.
Json.reads[Foo] with all optional parameters will not actually validate that the input is an object. Instead for non-object inputs it will assume all the optional parameters are not provided.