Class OpenApi


public class OpenApi extends CharMarshaller
A pairing of a OpenApiSerializer and OpenApiParser into a single class with convenience read/write methods.

The general idea is to combine a single serializer and parser inside a simplified API for reading and writing POJOs.

Examples:

// Using instance. OpenApi oapi = new OpenApi(); MyPojo myPojo = oapi.read(string, MyPojo.class); String string = oapi.write(myPojo);

// Using DEFAULT instance. MyPojo myPojo = OpenApi.DEFAULT.read(string, MyPojo.class); String string = OpenApi.DEFAULT.write(myPojo);

See Also: