org.ektorp.impl
Class StreamingJsonSerializer

java.lang.Object
  extended by org.ektorp.impl.StreamingJsonSerializer
All Implemented Interfaces:
JsonSerializer

public class StreamingJsonSerializer
extends Object
implements JsonSerializer

Author:
Henrik Lundgren created 1 nov 2009

Constructor Summary
StreamingJsonSerializer(org.codehaus.jackson.map.ObjectMapper om)
           
StreamingJsonSerializer(org.codehaus.jackson.map.ObjectMapper om, ExecutorService es)
           
 
Method Summary
 BulkOperation createBulkOperation(Collection<?> objects, boolean allOrNothing)
           
 String toJson(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingJsonSerializer

public StreamingJsonSerializer(org.codehaus.jackson.map.ObjectMapper om)

StreamingJsonSerializer

public StreamingJsonSerializer(org.codehaus.jackson.map.ObjectMapper om,
                               ExecutorService es)
Method Detail

createBulkOperation

public BulkOperation createBulkOperation(Collection<?> objects,
                                         boolean allOrNothing)
Specified by:
createBulkOperation in interface JsonSerializer

toJson

public String toJson(Object o)
Specified by:
toJson in interface JsonSerializer


Copyright © 2011. All Rights Reserved.