org.apache.tapestry5.internal.json

## Class StringToJSONObject

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

- All Implemented Interfaces:
    Coercion<java.lang.String,JSONObject>

      public class StringToJSONObject
      extends java.lang.Object
      implements Coercion<java.lang.String,JSONObject>

  Since:
    5.3

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringToJSONObject()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JSONObject` | `coerce(java.lang.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(java.lang.String input)

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

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.