# JSONValue

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmuxMCP/JSONValue.swift#L7
- **Page:** https://libtmux.org/reference/swift/jsonvalue/

Just enough JSON to carry ids, arguments and results through without knowing their shape.

An id is echoed back exactly as it arrived — a client that sends a string id
and receives a number will not match them up.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `null` (constant)
- `bool(_:)` (constant)
- `integer(_:)` (constant)
- `unsignedInteger(_:)` (constant)
- `number(_:)` (constant)
- `string(_:)` (constant)
- `array(_:)` (constant)
- `object(_:)` (constant)
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
- `encode(to:)` (method) — Encodes this value into the given encoder.
- `stringValue` (property)
- `boolValue` (property)
- `intValue` (property)
- `doubleValue` (property)
- `arrayValue` (property)
- `objectValue` (property)
- `isNull` (property)
- `==(_:_:)` (function) — Returns a Boolean value indicating whether two values are equal.
- `hash(into:)` (method) — Hashes the essential components of this value by feeding them into the given hasher.
