> ## 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.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# PrimitiveValueDecoders

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

[Back to package](./index)

com.daml.ledger.javaapi.data.codegen

# PrimitiveValueDecoders

ValueDecoders for Daml types that are not code-generated.

Java

Package
com.daml.ledger.javaapi.data.codegen

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

## Signature

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

## Members

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