An open API service indexing awesome lists of open source software.

https://github.com/olebedev/pickle.js

JavaScript implementation of the Python pickle format. Fork.
https://github.com/olebedev/pickle.js

Last synced: 14 days ago
JSON representation

JavaScript implementation of the Python pickle format. Fork.

Awesome Lists containing this project

README

          

Pickle.js is a JavaScript implementation of the Python pickle format.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It supports pickles containing a cross-language subset of the primitive types.

Fokred from Frank Salim's `google code `_ repo.
For what? To added support for ``LONG`` and ``UNICODE`` data type.
If you would like to see how it works, open ``index.html`` in your browser
and press the button.

API
---

The API for pickle.js was chosen to match the Python pickle module.

``pickle.dumps(object) -> string``

``pickle.loads(string) -> object``

For more information click `here `_.

Copyright (c) 2008 Frank Salim

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.