Creating JSON document using Java and GSON API