# JSONValue

- **Package:** LibTmuxMCP
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmuxMCP/JSONValue.swift#L8
- **Page:** https://libtmux.org/en/swift/latest/mcp/reference/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.
