> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

# PrimitiveValueDecoders

> ValueDecoders for Daml types that are not code-generated.

## PrimitiveValueDecoders - stable

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html)

**Signature**

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
public final class PrimitiveValueDecoders extends Object
```

**Members**

| Docs                                                                                                                                                                                                                                              | Member                                         | Introduced | Deprecated | Removed |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ---------- | ---------- | ------- |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromBool)                                                                                                            | `fromBool`                                     | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromContractId%28com.daml.ledger.javaapi.data.codegen.ValueDecoder%29)                                               | `fromContractId(ValueDecoder<T>)`              | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromDate)                                                                                                            | `fromDate`                                     | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromGenMap%28com.daml.ledger.javaapi.data.codegen.ValueDecoder,com.daml.ledger.javaapi.data.codegen.ValueDecoder%29) | `fromGenMap(ValueDecoder<K>, ValueDecoder<V>)` | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromInt64)                                                                                                           | `fromInt64`                                    | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromList%28com.daml.ledger.javaapi.data.codegen.ValueDecoder%29)                                                     | `fromList(ValueDecoder<T>)`                    | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromNumeric)                                                                                                         | `fromNumeric`                                  | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromOptional%28com.daml.ledger.javaapi.data.codegen.ValueDecoder%29)                                                 | `fromOptional(ValueDecoder<T>)`                | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromParty)                                                                                                           | `fromParty`                                    | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromText)                                                                                                            | `fromText`                                     | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromTextMap%28com.daml.ledger.javaapi.data.codegen.ValueDecoder%29)                                                  | `fromTextMap(ValueDecoder<T>)`                 | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromTimestamp)                                                                                                       | `fromTimestamp`                                | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#fromUnit)                                                                                                            | `fromUnit`                                     | `3.4.8`    | -          | -       |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/com/daml/ledger/javaapi/data/codegen/PrimitiveValueDecoders.html#impossible%28%29)                                                                                                    | `impossible()`                                 | `3.4.8`    | -          | -       |
