Imagine you have a class with a field of type int. However, you want it to be stored as a String in the JSON document. Which annotation should you use to achieve it?
Mapping classes to JSON documents
Type it
Report a typo
Select one option from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.