Instant GSON by Sandeep Kumar Patel

by Sandeep Kumar Patel · Views: 150 · Format: EPUB · Language: English (en)

Cover of Instant GSON by Sandeep Kumar Patel — Free EPUB on AnyEbooksEPUB

about Apache License 2.0 and its use ReadMe Text This text file contains the information and purpose of the GSON library gson-2.2.2-sources JAR This JAR file contains all the source code for the GSON library gson-2.2.2-javadoc JAR This JAR file contains the entire Java document generated by the GSON project gson-2.2.2 JAR This JAR file is your required GSON library Configuring a Java project To configure the GSON library in Eclipse for a Java project, a developer needs to execute the following steps: Create a new Java project in the Eclipse workspace. For example, GsonDemo . Create a new folder, say lib , inside the GsonDemo Java project and paste the gson-2.2.2.jar file in it. Add the JAR file in CLASSPATH of the project, and GSON is now all set to be used: The preceding screenshot shows that the gson library is added to the Java project. Now, the GSON JAR file is listed in the Referenced Libraries. Configuring a Maven project All Maven project file dependencies are maintained by a project object model. In Maven 2, this file is known as pom.xml . All project specific configurations are added as dependencies in the plugin section of pom.xml . There is a standard format to add a dependency to a Maven type of project. It requires certain tags and values to be included. To add the GSON dependency to a Maven-type project, perform the following steps: Create a Maven Java/Web project of JAR/WAR archetype, GsonMavenDemo . Add the GSON dependency in the plugin tag by using the depend

★★★★★

Rate this eBook

File Name:79c9b8ca69b472cde84391f41f6bcc6e.epub
Original Title:Instant GSON
Creator / Author:Sandeep Kumar Patel
Language:English (en)
Identifier:ASIN:91384
Publisher:Sandeep Kumar Patel Publishing
Category:Computer Science & Programming
Format:📗 EPUB eBook
File Size:3.5 MB

Community Reviews

Loading verified community reviews...

Related Computer Science & Programming Titles