4 options
Instant GSON / Sandeep Kumar Patel.
- Format:
- Book
- Author/Creator:
- Patel, Sandeep Kumar.
- Language:
- English
- Subjects (All):
- JavaScript (Computer program language).
- Information technology.
- Physical Description:
- 1 online resource (60 pages) : illustrations
- Edition:
- 1st edition
- Other Title:
- GSON
- Place of Publication:
- Birmingham, England : Packt Publishing, 2013.
- Language Note:
- English
- System Details:
- text file
- Biography/History:
- Patel Sandeep: http: //www. packtpub. com/developing-responsive-web-applications-with-ajax-and-jquery/book
- Summary:
- 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 Write your own JSON converter In Detail GSON is a specialized Java-based library for handling JSON data, developed by Google. GSON demonstrates an efficient use of CPU time, memory efficiency, the library, and developer productivity. This book will help you implement GSON in your Java project. Instant GSON is a practical, hands-on guide that provides you with all the implementation features of the GSON API through coded examples, which will help you take advantage of the real power that is behind the GSON API, and give you a good grounding to use it in your projects. Instant GSON starts with an introduction to the JSON data format and GSON library. It will take you through the configuration steps required to set up a GSON-based Java project. You will learn about the top features of the GSON library, which includes handling generic type and nested class objects in Java, implementing versioning support, exclusion strategies, and pretty printing. At the end of the book you will find some useful references to articles, blogs, and active communities.
- Contents:
- Intro
- 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.
- Notes:
- Bibliographic Level Mode of Issuance: Monograph
- Includes bibliographical references.
- Description based on online resource; title from PDF title page (ebrary, viewed September 21, 2013).
- ISBN:
- 9781783282043
- 1783282045
- OCLC:
- 857713302
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.