"I was born in a simple family" which child never imagined having rich parents,having abundant wealth,luxury cars and whatever we asked for would certainly be given by his parents. Because reality is not always as beautiful as imaginet. When I saw the struggle and hard work of my father and mother to meke me happy.which finally made me stop to imagine things that were hard to become reality like that. Because the reality is that I was born from a simple family. Although life is full of simplicity, in fact I, father, mother can still create happiness in the family with togetherness. Now I realize that happiness is not always with wealth or luxury cars, but even with togetherness I can still be happy Because there is nothing better than a beloved family, both love and sorrow. I just understood, living in simplicity was not as bad as I im...
Menggunakan GSON untuk Serialisasi dan Deserialisasi Data JSON di Java GSON adalah library racikan Google untuk melakukan serialisasi dan deserialisasi data JSON dengan mudah. Serialisasi adalah proses mengubah objek Java menjadi JSON. Sedangkan deserialisasi adalah proses mengubah JSON menjadi obejek Java. Serialisasi dan deserialisasi biasanya dilakukan saat kita bekerja dengan webservice . Pada kesempatan ini, kita akan belajar menggunakan library GSON untuk serialisasi dan deserialisasi data JSON secara langsung dari kode dan deserialisasi dari webservice. Mari kita mulai… Membuat Project dengan Maven Pada tutorial ini, kita akan menggunakan Maven untuk membuat project dan menginstal library GSON. Silahkan ketik perintah berikut ini untuk membuat project dengan Maven. mvn archetype:generate \ -DgroupId = com.petanikode.app \ -DartifactId = petanikode-app \ -DarchetypeArtifactId = maven-archetype-quickstart \ -DinteractiveMode = fal...