Google Gson Interview Questions and Answers
Difficulty Level: AllBeginnerIntermediateExpert
Ques 2. What are the two ways to create Gson objects?
Ques 3. How to convert Java objects to JSON format?
Ques 4. How to convert JSON to Java Objects?
Ques 5. What is Instance Creator? Why and when do we require this?
Ques 6. How to custom Serialization and De-serialization in Gson?
Ques 7. How to provide Pretty Printing for JSON Output Format?