Package io.airlift.event.client

Examples of io.airlift.event.client.JsonEventSerializer


{
    @Test
    public void testSerialize()
            throws IOException
    {
        JsonEventSerializer serializer = new JsonEventSerializer(PrivateEvent.class);
        JsonGenerator generator = new JsonFactory().createJsonGenerator(nullOutputStream());
        serializer.serialize(new PrivateEvent(), generator);
    }
View Full Code Here

TOP

Related Classes of io.airlift.event.client.JsonEventSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.