Skip to content

Team-Lodestone/JavaObjectStreams

Repository files navigation

JavaObjectStreams

GitHub tag License

Read the docs

A C++ library to provide serialization and deserialization of Java objects (ala ObjectInputStream and ObjectOutputStream).

JavaObjectStreams is not...

  • a Java class file parser.
  • a Java disassembler.

V2 V1
Deserialization
Serialization

TODO

  • Fix up API (probably in the style of the Java Reflection API)
  • Add and implement common interfaces between similar objects (looking at you ProxyClass and NewClass)
  • Properly validate expected types, use std::variant (or actually it would be nicer to make a custom holder) in place of IObject when available.
    • For object types like TC_ENDBLOCKDATA, we can ignore it and store nullptr.

Contributing

Unless otherwise stated, contributions are licensed under the terms of the MIT license.

Credits

https://docs.oracle.com/javase/9/docs/specs/serialization/protocol.html#grammar-for-the-stream-format

About

C++ library which provides matching Java Serializable serialization and deserialization

Topics

Resources

License

Stars

Watchers

Forks

Contributors