
net.alloyggp.escaperope.rope.ropify.RopeWeaver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of escape-rope Show documentation
Show all versions of escape-rope Show documentation
A library for turning structured data into strings and back.
package net.alloyggp.escaperope.rope.ropify;
import net.alloyggp.escaperope.rope.Rope;
/**
* A Weaver is an object (assumed to be stateless or immutable) that
* specifies how to translate between a particular object type and
* a Rope.
*
* See {@link CoreWeavers} for Weavers for commonly-used types.
*/
public interface RopeWeaver {
Rope toRope(T object);
T fromRope(Rope rope);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy