public interface JSONPSerialization extends View
result.use(jsonp()).withCallback("theCallback").from(anObject).serialize();
Modifier and Type | Method and Description |
---|---|
JSONSerialization |
withCallback(String callbackName)
sets the jsonp callback
|
JSONSerialization withCallback(String callbackName)
Copyright © 2014 Caelum. All rights reserved.