# JSONValue Enumeration Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Enums/JSONValue.html
- Imported at: 2026-10-25T05:00:44.899Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Enums/JSONValue
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="jsonvalue"></a>

# JSONValue

```
public enum JSONValue : Codable
```

- <a id="/s:17IDentitySDK_Swift9JSONValueO6stringyACSScACmF"></a>

  <a id="//apple_ref/swift/Element/string(_:)"></a>

  `string(_:)`

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  case string(String)
  ```

- <a id="/s:17IDentitySDK_Swift9JSONValueO3intyACSicACmF"></a>

  <a id="//apple_ref/swift/Element/int(_:)"></a>

  `int(_:)`

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  case int(Int)
  ```

- <a id="/s:17IDentitySDK_Swift9JSONValueO6doubleyACSdcACmF"></a>

  <a id="//apple_ref/swift/Element/double(_:)"></a>

  `double(_:)`

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  case double(Double)
  ```

- <a id="/s:17IDentitySDK_Swift9JSONValueO4boolyACSbcACmF"></a>

  <a id="//apple_ref/swift/Element/bool(_:)"></a>

  `bool(_:)`

  <a id="declaration-4"></a>

  #### Declaration

  Swift

  ```
  case bool(Bool)
  ```

- <a id="/s:17IDentitySDK_Swift9JSONValueO6objectyACSDySSACGcACmF"></a>

  <a id="//apple_ref/swift/Element/object(_:)"></a>

  `object(_:)`

  <a id="declaration-5"></a>

  #### Declaration

  Swift

  ```
  case object([String : JSONValue])
  ```

- <a id="/s:17IDentitySDK_Swift9JSONValueO5arrayyACSayACGcACmF"></a>

  <a id="//apple_ref/swift/Element/array(_:)"></a>

  `array(_:)`

  <a id="declaration-6"></a>

  #### Declaration

  Swift

  ```
  case array([JSONValue])
  ```

- <a id="/s:17IDentitySDK_Swift9JSONValueO4nullyA2CmF"></a>

  <a id="//apple_ref/swift/Element/null"></a>

  `null`

  <a id="declaration-7"></a>

  #### Declaration

  Swift

  ```
  case null
  ```

- <a id="/s:Se4fromxs7Decoder_p_tKcfc"></a>

  <a id="//apple_ref/swift/Method/init(from:)"></a>

  `init(from:)`

  <a id="declaration-8"></a>

  #### Declaration

  Swift

  ```
  public init(from decoder: Decoder) throws
  ```

- <a id="/s:SE6encode2toys7Encoder_p_tKF"></a>

  <a id="//apple_ref/swift/Method/encode(to:)"></a>

  `encode(to:)`

  <a id="declaration-9"></a>

  #### Declaration

  Swift

  ```
  public func encode(to encoder: Encoder) throws
  ```

<a id="footer"></a>

© 2026 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2026-10-16)

Generated by [jazzy ♪♫ v0.15.3](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
