android - Use Retrofit to parse text from JSON file in local -
i have json text file in /res/raw
. after reading text content, use retrofit parse json text object. seems retrofit accept input file in server.
is there anyway reuse retrofit's json parser module in case?
you can configure gson instance once , use both local parsing , retrofit via restadapter.builder.setconverter(new gsonconverter(customgson)
Comments
Post a Comment