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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

windows - How to automate a file conversion xwm to mp3 with xwmaencode.exe using bat file -