io.vertx.core.json

## Class Json

- java.lang.Object
- - io.vertx.core.json.Json

-     public class Json
      extends Object

  Author:
    Tim Fox

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static com.fasterxml.jackson.databind.ObjectMapper` | `mapper`
    `static com.fasterxml.jackson.databind.ObjectMapper` | `prettyMapper`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Json()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> T` | `decodeValue(String str, Class<T> clazz)`
    `static String` | `encode(Object obj)`
    `static String` | `encodePrettily(Object obj)`

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

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

- - ### Field Detail

    - #### mapper

          public static com.fasterxml.jackson.databind.ObjectMapper mapper

    - #### prettyMapper

          public static com.fasterxml.jackson.databind.ObjectMapper prettyMapper

  - ### Constructor Detail

    - #### Json

          public Json()

  - ### Method Detail

    - #### encode

          public static String encode(Object obj)
                               throws EncodeException

      Throws:
        `EncodeException`

    - #### encodePrettily

          public static String encodePrettily(Object obj)
                                       throws EncodeException

      Throws:
        `EncodeException`

    - #### decodeValue

          public static <T> T decodeValue(String str,
                                          Class<T> clazz)
                                   throws DecodeException

      Throws:
        `DecodeException`

Copyright © 2015. All rights reserved.