Instant GSON
Learn to create JSON data from Java objects and implement them in an application with the GSON library Learn something new in an Instant! A short, fast, focused guide delivering immediate results Convert JAVA Objects to JSON representation and vice versa Learn about the Field Exclusion strategy Writ...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing
2013.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627861106719 |
Tabla de Contenidos:
- Intro
- Instant GSON
- Instant GSON
- Credits
- About the Author
- About the Reviewers
- www.packtpub.com
- Support files, eBooks, discount offers, and more
- packtlib.packtpub.com
- Why Subscribe?
- Free Access for Packt account holders
- 1. Instant GSON
- So, what is GSON?
- Configuring GSON in Eclipse
- Getting the GSON library
- Configuring a Java project
- Configuring a Maven project
- Quick start - creating your first JSON in GSON
- Step 1 - instantiating GSON
- The default approach
- The builder approach
- A quick example
- Top 12 features you need to know about
- Java objects support
- Serialization and deserialization
- Pretty printing
- Nested classes
- Static nested class
- Pure nested class
- Array
- Generic type
- Null object support
- Versioning support
- No argument constructor support
- Field naming support
- User-defined field naming
- Field exclusion strategies
- Configuring GsonBuilder
- Using annotation
- User-defined field exclusion annotation
- Applications of GSON
- People and places you should get to know
- Official sites
- Articles and tutorials
- Community
- Blogs.