Package: groovy.json

## [Java] Class JsonOutput.JsonUnescaped

- groovy.json.JsonOutput.JsonUnescaped

-     public static class JsonOutput.JsonUnescaped
      extends Object

  Represents unescaped JSON

- - ### Constructor Summary

    Constructors
    Constructor and description
    `JsonUnescaped(CharSequence text)` Creates a wrapper for raw JSON text that should not be escaped.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public CharSequence` | `getText()` Returns the raw JSON text.
    `` | `public String` | `toString()` Returns the wrapped raw JSON text.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public JsonUnescaped(CharSequence text)

      Creates a wrapper for raw JSON text that should not be escaped.

      Parameters:
        `text` - the raw JSON text

  - ### Method Detail

    - #### public CharSequence getText()

      Returns the raw JSON text.

      Returns:
        the unescaped JSON text

    - #### public String toString()

      Returns the wrapped raw JSON text.

      Returns:
        the unescaped JSON text