Git Product home page Git Product logo

Comments (5)

TkTech avatar TkTech commented on July 21, 2024

That library doesn't seem to do anything. It's just wrapping simple single struct types with friendly names. It also doesn't handle MUTF-8 properly. I can't see how this would belong in Jawa?

Might you be confusing python_java_datastream with something that reads the Java Serialization Specification? That is significantly more complex and would be a valuable contribution.

from lawu.

pombredanne avatar pombredanne commented on July 21, 2024

All good points!

from lawu.

TkTech avatar TkTech commented on July 21, 2024

@pombredanne out of curiosity if you don't mind me asking, what are you using Jawa for (if anything)? How would python_java_datastream have been useful, so I can figure out what's missing from the API (or docs).

from lawu.

pombredanne avatar pombredanne commented on July 21, 2024

@TkTech I am building parser for the Maven nexus index format (see http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.gz but beware this is one big and two poorly documented and a tad bizantine) that will land in tools for https://github.com/nexB/scancode-toolkit when ready. This is a DataInputStream format ... So I use this simple thing but then I use Jawa for the proper decoding of UTF in particular. I will also use it as a replacement for https://github.com/nexB/scancode-toolkit-contrib/tree/develop/src/compiledcode/javaclass which is tad dated when I come to this ;) so for now the bare DataInputStream wrapper seems OK for the basics. and this is not really "Java serialized data" afaik.

from lawu.

pombredanne avatar pombredanne commented on July 21, 2024

FWIW, If you are looking for de/serialization support https://github.com/vbuell/python-javaobj and this fork with Python3 support https://github.com/tcalmant/python-javaobj may be worth a look.

from lawu.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.