## Uses of Class
io.vertx.core.json.DecodeException

- Packages that use DecodeException
  Package | Description
  --- | ---
  io.vertx.core.json |
  io.vertx.core.json.jackson |
  io.vertx.core.spi.json |
  io.vertx.ext.web.validation |

- - ### Uses of DecodeException in io.vertx.core.json

    Methods in io.vertx.core.json that throw DecodeException
    Modifier and Type | Method and Description
    --- | ---
    `static Object` | Json.`decodeValue(Buffer buf)` Decode a given JSON buffer.
    `static <T> T` | Json.`decodeValue(Buffer buf, Class<T> clazz)` Decode a given JSON buffer to a POJO of the given class type.
    `static Object` | Json.`decodeValue(String str)` Decode a given JSON string.
    `static <T> T` | Json.`decodeValue(String str, Class<T> clazz)` Decode a given JSON string to a POJO of the given class type.

  - ### Uses of DecodeException in io.vertx.core.json.jackson

    Methods in io.vertx.core.json.jackson that throw DecodeException
    Modifier and Type | Method and Description
    --- | ---
    `static <T> T` | JacksonCodec.`decodeValue(Buffer buf, TypeReference<T> type)` Decode a given JSON buffer to a POJO of the given class type.
    `static <T> T` | JacksonCodec.`decodeValue(String str, TypeReference<T> type)` Decode a given JSON string to a POJO of the given type.
    `Object` | JacksonCodec.`fromBuffer(Buffer buf)`
    `<T> T` | DatabindCodec.`fromBuffer(Buffer buf, Class<T> clazz)`
    `<T> T` | JacksonCodec.`fromBuffer(Buffer json, Class<T> clazz)`
    `<T> T` | DatabindCodec.`fromBuffer(Buffer buf, TypeReference<T> typeRef)`
    `<T> T` | JacksonCodec.`fromBuffer(Buffer buf, TypeReference<T> typeRef)`
    `static <T> T` | DatabindCodec.`fromParser(JsonParser parser, Class<T> type)`
    `static <T> T` | JacksonCodec.`fromParser(JsonParser parser, Class<T> type)`
    `Object` | JacksonCodec.`fromString(String str)`
    `<T> T` | DatabindCodec.`fromString(String str, Class<T> clazz)`
    `<T> T` | JacksonCodec.`fromString(String json, Class<T> clazz)`
    `<T> T` | DatabindCodec.`fromString(String str, TypeReference<T> typeRef)`
    `<T> T` | JacksonCodec.`fromString(String str, TypeReference<T> typeRef)`

  - ### Uses of DecodeException in io.vertx.core.spi.json

    Methods in io.vertx.core.spi.json that throw DecodeException
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | JsonCodec.`fromBuffer(Buffer json, Class<T> clazz)` Like `JsonCodec.fromString(String, Class)` but with a json `Buffer`
    `<T> T` | JsonCodec.`fromString(String json, Class<T> clazz)` Decode the provide `json` string to an object extending `clazz`.

  - ### Uses of DecodeException in io.vertx.ext.web.validation

    Methods in io.vertx.ext.web.validation with parameters of type DecodeException
    Modifier and Type | Method and Description
    --- | ---
    `static BodyProcessorException` | BodyProcessorException.`createParsingError(String contentType, DecodeException cause)`

Copyright © 2025 Eclipse. All rights reserved.