https://github.com/bgunson/object-serialization
Reflective Object Serialization in Java
https://github.com/bgunson/object-serialization
json
Last synced: 2 months ago
JSON representation
Reflective Object Serialization in Java
- Host: GitHub
- URL: https://github.com/bgunson/object-serialization
- Owner: bgunson
- Created: 2021-01-07T01:43:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-05T03:34:42.000Z (almost 5 years ago)
- Last Synced: 2025-05-29T13:52:02.043Z (about 1 year ago)
- Topics: json
- Language: Java
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Reflective Object Serialization Project
This is a project that lets a user create 5 different objects and input their fields which is then
serialized to a JSON string using [org.json](https://github.com/stleary/JSON-java). These operations take place on a theoretical server where a
serialized object with unique properties is sent to a client via a socket, deserialized then recreated.
I have used a Maven project structure to organize my external libraries and test classes. It is most
easily ran from an IDE that supports Maven projects. I have represented the server/client in respective
packages in _src/main/java_. There are two main methods, one being on the server side in _Sender.java_ and the
other being in _Receiver.java_ on the client side. In addition the 5 test objects which the user can create
reside in the _objects_ package. All creation and de/serialization is acheived at runtime via the _java.lang.reflect_
package.