Method for constructing JSON parser instance to parse contents of specified file. Encoding is auto-detected from contents according to JSON specification recommended mechanism.
Underlying input stream (needed for reading contents) will be owned (and managed, i.e. closed as need be) by the parser, since caller has no access to it.
NOTE: as of 2.1, should not be used (will be deprecated in 2.2); instead, should call createParser
.
@param f File that contains JSON content to parse
@deprecated Since 2.2, use {@link #createParser(File)} instead.