Package org.apache.tapestry5.internal.json

## Class StringToJSONObject

- java.lang.Object
- - org.apache.tapestry5.internal.json.StringToJSONObject

- All Implemented Interfaces:
    `Coercion<String,​JSONObject>`

      public class StringToJSONObject
      extends Object
      implements Coercion<String,​JSONObject>

  Since:
    5.3

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `StringToJSONObject()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `JSONObject` | `coerce​(String input)` | Converts an input value.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StringToJSONObject

          public StringToJSONObject()

  - ### Method Detail

    - #### coerce

          public JSONObject coerce​(String input)

      Description copied from interface: `Coercion`
      Converts an input value.
      Specified by:
        `coerce` in interface `Coercion<String,​JSONObject>`
      Parameters:
        `input` - the input value