when i use jackson like this:
String json="{"path":
"/data/user/0/com.zhihu.android.mediastudio/files/mediastudio/2421cbc0-36c4-4b00-a8bd-f55e43bbb4bc/capture_1524547516358.mp4"}"
mapper.read(json,File.class);
i got an error:
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize
instance of java.io.File out of START_OBJECT token
--
You received this message because you are subscribed to the Google Groups
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.