OpenStack Heat orchestration makes it easy to build templates for application deployment and auto-scaling. The built-in resource types offer access to many of the existing OpenStack services. However, you may need to integrate with an internal CMDB or service registry, or configure some other services outside of OpenStack as you launch your application. In this post I will explain how you can add your own custom Heat resources to extend Heat orchestration to meet your needs.
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
Who This Book Is For
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.
Table of Contents
Chapter 1: Instant GSON
So, what is GSON?
Configuring GSON in Eclipse
Quick start – creating your first JSON in GSON
Top 12 features you need to know about
People and places you should get to know
What You Will Learn
Convert Java objects to and from JSON
Handle generic and null java objects
Maintain different versions of serialized JSON
Alter the name of fields when serializing
Creating user defined annotation to remove fields while serializing
Learn about the implementation of GSON in web applications
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.
Sandeep Kumar Patel
We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.
As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.
Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.
Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.
A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.
Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.
Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.
Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.
Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.