Package org.apache.tapestry5.services.ajax

# Interface JSONCallback

public interface JSONCallback
A callback used with `AjaxResponseRenderer.addCallback(JSONCallback)`.

Since:
  5.3

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `run(JSONObject reply)`
  Modify the reply, typically by adding additional keys.

- ## Method Details

  - ### run

    void run(JSONObject reply)
    Modify the reply, typically by adding additional keys.
    Parameters:
      `reply` - the reply JSON object to be sent to the client