Giter Site home page Giter Site logo

iqy / lz-string4java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rufushuang/lz-string4java

0.0 2.0 0.0 1.06 MB

Port javascript lz-string in JAVA version. Done some of language optimization. And a rhino side for Testing.

License: MIT License

HTML 1.86% JavaScript 53.91% Java 44.23%

lz-string4java's Introduction

lz-string4java

Port javascript lz-string in JAVA version.

Port from original JavaScript version by pieroxy https://github.com/pieroxy/lz-string

Done some of language optimization after porting.

Porting Version CAUTION !!

Original LZString is not all version compatible.

From version 1.3.3 to version 1.4.4, there are some incompatible changes in compressToBase64/decompressFromBase64. Same as EncodedURIComponent. Use different will result in failure.

So just keep appropriate/same version on your web page javascript side and server java side.

IF YOU USE LZ-String VERSION WHICH BACKWARDS OF 1.4.4 and have problem with Base64/URIComponent, go to the release part and get the 1.3.3 release to have a try.

License

MIT License

Rhino Testing

See rufus.lzstring4javarhinotest.LZStringTest. Only the testing package need rhino.

If you're not intrestring in testing, just get the rufus.lzstring4java package only, no rhino or any other third party package is needed.

lz-string4java's People

Contributors

rufushuang avatar matepi avatar

Watchers

James Cloos avatar  avatar

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.