net.razorvine.serpent.LibraryVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serpent Show documentation
Show all versions of serpent Show documentation
Serpent serializes an object tree into a Python ast.literal_eval() compatible literal expression. It is safe to send serpent data to other machines over the network for instance
(because only 'safe' literals are encoded).
There is also a deserializer or parse provided that turns such a literal expression back into the appropriate Java object tree.
It is an alternative to JSON to provide easy data integration between Java and Python. Serpent is more expressive as JSON (it supports more data types).
/**
* Serpent, a Python literal expression serializer/deserializer
* (a.k.a. Python's ast.literal_eval in Java)
* Software license: "MIT software license". See http://opensource.org/licenses/MIT
* @author Irmen de Jong ([email protected])
*/
package net.razorvine.serpent;
public final class LibraryVersion {
public static final String VERSION = "1.13";
}