|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.json.services.JSONModule
public class JSONModule
A module that integrates JSON into Tapestry in terms of type coercions. tapestry-json can still be used independently of the rest of Tapestry (since its a 'provided' dependency), but when used with tapestry-ioc on the classpath, the coercions described by this module become available.
| Constructor Summary | |
|---|---|
JSONModule()
|
|
| Method Summary | |
|---|---|
static void |
provideCoercions(Configuration<CoercionTuple> configuration)
String to JSONObject
String to JSONArray
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONModule()
| Method Detail |
|---|
@Contribute(value=TypeCoercer.class) public static void provideCoercions(Configuration<CoercionTuple> configuration)
String to JSONObjectString to JSONArray
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||