java.io.File
is not a valid source for anyFrom()/mapFrom()
#53
Milestone
java.io.File
is not a valid source for anyFrom()/mapFrom()
#53
I'm getting an exception when attempting to use mapFrom/anyFrom in gradle/groovy:
com.fasterxml.jackson.jr.ob.JSONObjectException: Can not use Source of type java.io.File as input (use an InputStream, Reader, String, byte[], File or URL
Thrown here: https://github.com/FasterXML/jackson-jr/blob/master/jr-objects/src/main/java/com/fasterxml/jackson/jr/ob/JSON.java#L1064
It looks like the cases above don't handle
java.io.File
as the documentation/exception claims.The text was updated successfully, but these errors were encountered: