filmov
tv
Serialization with Gson | Coding a 2D Game Engine in Java #19

Показать описание
In this tutorial I go over a brief introduction to Gson, which is Google's serializer for Java objects. This library serializes objects into a Json format, which can then be deserialized with the same library. It uses reflection to do this, which means that the programmer does not have to write any serialization code at all. We will discuss some changes that need to be made to our current component framework to support this, implement those changes, and the begin to save our game data using Gson.
---------------------------------------------------------------------
Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)
My Recommended Game Engine Books:
My Recommended Beginning Game Programming Books:
My Recommended Java Books:
Serialization with Gson | Coding a 2D Game Engine in Java #19
GSON - Serializing and Deserializing Enums
Gson Tutorial — Getting Started with Java-JSON Serialization & Deserialization
Gson tutorial | JSON Serialization and Deserialization with Gson
Serialization and Deserialization using GSON in AEM 6.3
Simple Example of JSON with GSON and JsonDeserializer
#1 Gson Tutorial for Beginners - Performing a Serialization
Serialization & Deserialization Using GSON Java | Create Simple & Nested JSON In Java | #gso...
Android Gson Example - 04 - Perform Data Serialization
Deserialization with Gson | Coding a 2D Game Engine in Java #20
#6 Gson Tutorial for Beginners - Serializing a Null Value
[ENG] GSON | JSON2POJO idea plugin | Serialization | Deserialization | JAVA
Serialize and Deserialize JSON using Jackson
Kotlin Serialization vs Gson vs Moshi vs Jackson
Deserializing JSON: GSON and Java
Intro to JSON in Android : Serialization and Deserialization ( 2021 )
[RU] GSON | JSON2POJO idea plugin | Serialization | Deserialization | JAVA
Android Gson Example - 05 - Perform Data De-Serialization
Rest Assured API Testing Tutorial | Serialization and Deserialization in RestAssured | Day 17
Code Review: Serializing big JSON using GSON without loading everything in memory
Java Object to JSON and Vice Versa: Step-by-Step Tutorial with GSON Library
Gson Tutorial — Change Naming of Fields with @SerializedName
Gson: How to Exclude Specific Fields from Serialization Without Annotations
Easily serialize Maps, Sets, or any other type to/from JSON in JavaScript
Комментарии