Instant GSON.
Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. Instant GSON is a practical, hands-on guide that will explain the implementation features of the GSON API through examples with code. Instant GSON is...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Packt Publishing,
2013.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.packtpub.com; packtlib.packtpub.com; Table of Contents; 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 supportVersioning 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.