Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Instant GSON
Instant GSON
Instant GSON
Ebook110 pages26 minutes

Instant GSON

Rating: 0 out of 5 stars

()

Read preview

About this ebook

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 for software developers who are new to the GSON library, and who are looking to explore it in depth. You should have some experience in Java programming and Java POJO classes.
LanguageEnglish
Release dateAug 26, 2013
ISBN9781783282043
Instant GSON

Related to Instant GSON

Related ebooks

Software Development & Engineering For You

View More

Related articles

Reviews for Instant GSON

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Instant GSON - Sandeep Kumar Patel

    Table of Contents

    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

    Instant GSON


    Instant GSON

    Copyright © 2013 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: August 2013

    Production Reference: 1230813

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-78328-203-6

    www.packtpub.com

    Credits

    Author

    Sandeep Kumar Patel

    Reviewers

    Shameera Rathnayaka

    Karim Varela

    Acquisition Editor

    Usha Iyer

    Commissioning Editor

    Amit Ghodake

    Technical Editors

    Krishnaveni Haridas

    Chandni Maishery

    Copy Editor

    Sayanee Mukherjee

    Project Coordinator

    Akash Poojary

    Proofreader

    Julie Jackson

    Graphics

    Abhinash Sahu

    Production Coordinator

    Nilesh R. Mohite

    Cover Work

    Nilesh R. Mohite

    Cover Image

    Ronak Dhruv

    About the Author

    Sandeep Kumar Patel is a senior web developer and founder of www.tutorialsavvy.com, a widely- read programming blog since 2012. He has more than four years of experience in object-oriented JavaScript and JSON-based web applications development. He is GATE-2005 Information Technology (IT) qualified and has a Masters degree from VIT University, Vellore. At present,

    Enjoying the preview?
    Page 1 of 1