Merge pull request #270 from ABridoux/release/4.1.0

Release 4.1.0
This commit is contained in:
Alexis Bridoux 2022-03-20 16:08:02 +01:00 committed by GitHub
commit da48b20861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1278 changed files with 8054 additions and 332 deletions

View File

@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file. `Scout` adheres to [Semantic Versioning](http://semver.org).
---
## [4.1.0]( https://github.com/ABridoux/scout/tree/4.1.0) (20/03/2022)
### Added
- Online docC documentation
### Changed
- Bumped to minimum Swift version 5.6 [#265]
### Fixed
- docC warnings
- Dead links in the Readme [#268]
## [4.0.4]( https://github.com/ABridoux/scout/tree/4.0.4) (01/08/2021)
### Changed

View File

@ -46,6 +46,15 @@
"version": "0.4.2"
}
},
{
"package": "SwiftDocCPlugin",
"repositoryURL": "https://github.com/apple/swift-docc-plugin",
"state": {
"branch": null,
"revision": "3303b164430d9a7055ba484c8ead67a52f7b74f6",
"version": "1.0.0"
}
},
{
"package": "SwiftCSV",
"repositoryURL": "https://github.com/swiftcsv/SwiftCSV",

View File

@ -1,4 +1,4 @@
// swift-tools-version:5.4
// swift-tools-version:5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
@ -28,7 +28,6 @@ let package = Package(
url: "https://github.com/apple/swift-argument-parser",
from: "0.0.1"),
.package(
name: "Lux",
url: "https://github.com/ABridoux/lux",
from: "0.1.0"),
.package(
@ -39,7 +38,11 @@ let package = Package(
from: "0.6.0"),
.package(
url: "https://github.com/ABridoux/BooleanExpressionEvaluation",
from: "2.0.0")
from: "2.0.0"),
.package(
url: "https://github.com/apple/swift-docc-plugin",
from: "1.0.0"
)
],
targets: [
.target(
@ -49,19 +52,26 @@ let package = Package(
"Yams",
"SwiftCSV",
"Parsing",
"BooleanExpressionEvaluation"]),
"BooleanExpressionEvaluation"
]
),
.target(name: "Parsing"),
.target(
name: "ScoutCLTCore",
dependencies: [
"Scout", "Parsing"]),
"Scout",
"Parsing"
]
),
.executableTarget(
name: "ScoutCLT",
dependencies: [
"Scout",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"Lux",
"ScoutCLTCore"]),
.product(name: "Lux", package: "Lux"),
"ScoutCLTCore"
]
),
.testTarget(
name: "ScoutTests",
dependencies: ["Scout"]),
@ -69,6 +79,9 @@ let package = Package(
name: "ScoutCLTCoreTests",
dependencies: [
"ScoutCLTCore",
"Scout", "Parsing"])
"Scout",
"Parsing"
]
)
]
)

View File

@ -30,7 +30,7 @@ Install<br>
<br/>
</p>
# Scout <a href="https://github.com/ABridoux/scout/releases"><img src="https://img.shields.io/github/v/release/Abridoux/scout?color=lightgrey&label=latest" /></a>
# Scout <a href="https://github.com/ABridoux/scout/releases"><img src="https://img.shields.io/github/v/release/Abridoux/scout?color=lightgrey&label=latest"/></a>
This library aims to make specific formats data values reading and writing simple when the data format is not known at build time.
It was inspired by [SwiftyJson](https://github.com/SwiftyJSON/SwiftyJSON) and all the projects that followed, while trying to cover more ground, like Xml or Plist. It unifies writing and reading for those different formats. Getting a value in a Json format would be the same as getting a value in a Xml format.
@ -42,13 +42,12 @@ Supported formats:
- XML
#### Minimum requirements
- Swift: 5.4+
- Swift: 5.5+
- macOS: 10.13+
- iOS: 10.0+
- tvOS: 10.0+
- watchOS: 4.0+
## Summary
- [Why](#why)
- [Features](#features)
@ -59,7 +58,8 @@ Supported formats:
### Wiki
The wiki can be found [here](https://www.woodys-findings.com/scout/wiki/home).
The **Swift** wiki can be found on the [Github pages](https://abridoux.github.io/scout/documentation/scout)
The **command-line** wiki can be found on [Woody's Findings](https://www.woodys-findings.com/scout/wiki-command-line/home)
### News
- Checkout what's new in **Scout** 4.0.0 [here](https://www.woodys-findings.com/scout/news-4.0.0).
@ -76,12 +76,12 @@ I have been working with many Mac admins recently, and many had to deal with Jso
You can use a library for each format. But I am not aware today of a library that unifies all of them. So, what you learned with [jq](https://stedolan.github.io/jq/) cannot be reused to parse Plist data. You would have to learn to use **PlistBuddy** or the **defaults** command. With Scout, you can parse the same way Json, Plist and Xml data.
#### Using a generic text-processing tool
Don't get me wrong, **awk** is a wonderful tool. It can do so many things. But it is not that easy to learn. And you have to find a way to parse each different format. **Scout** is [really easy to use](https://github.com/ABridoux/scout/wiki/%5B20%5D-Usage-examples:-command-line).
Don't get me wrong, **awk** is a wonderful tool. It can do so many things. But it is not that easy to learn. And you have to find a way to parse each different format. **Scout** is [really easy to use](https://www.woodys-findings.com/scout/wiki-command-line/examples).
<br>
## Features
- CRUD functions for JSON, Plist and XML data format
- CRUD functions for JSON, Plist, XML and YAML data format
- Read, Set, Delete or Add a value at a specific path in the data
- Subscript dictionary with a dot "."
- Subscript arrays with an index between brackets [index]. Negative indexes allowed.
@ -106,7 +106,7 @@ Don't get me wrong, **awk** is a wonderful tool. It can do so many things. But i
### Insights
The [wiki](https://www.woodys-findings.com/scout/wiki/home) gives more details to use those features. Also, the [Playground](Playground) folder offers several commands to play with a *People* file in several formats. The same commands can be found on this [page](https://www.woodys-findings.com/scout/wiki/examples).
The wiki ([Swift](https://abridoux.github.io/scout/documentation/scout) | [Command-line](https://www.woodys-findings.com/scout/wiki-command-line/home)) gives more details to use those features. Also, the [Playground](Playground) folder offers several commands to play with a *People* file in several formats. The same commands can be found on this [page](https://www.woodys-findings.com/scout/wiki-command-line/examples).
#### CRUD functions for JSON, Plist and XML data format
- add a value (Create)
@ -144,7 +144,7 @@ Specify a regular expression between sharp signs '#' to filter the keys of a dic
It's possible to list the paths in the data to iterate over the values. The paths can be retrieved as an array in a shell script to be used in a loop.
This list can be filtered to target only single or group values, specific keys or values, or paths starting from a base.
You can [learn more](https://www.woodys-findings.com/scout/wiki/list-paths) about this feature. Also, [scripting recipes](https://www.woodys-findings.com/scout/wiki/scripting-recipes) are provided with use cases using this feature.
You can [learn more](https://www.woodys-findings.com/scout/wiki-command-line/list-paths) about this feature. Also, [scripting recipes](https://www.woodys-findings.com/scout/wiki-command-line/scripting-recipes) are provided with use cases using this feature.
#### Stream or file input
Set the input as a file with the input option `-i | --input` or as the last process/command output with a pipe:
@ -176,7 +176,7 @@ When dealing with large files (although it is not recommended to output large fi
#### Data formats conversion
The library offer a conversion feature from a supported format to another one like Plist -> JSON or YAML -> XML. Read or modify the data and export it to another format.
[Learn more](https://www.woodys-findings.com/scout/wiki/conversion)
[Learn more](https://www.woodys-findings.com/scout/wiki-command-line/conversion)
#### CSV export
Export data when dealing with arrays or a dictionary of arrays.
@ -188,7 +188,7 @@ Convert CSV input to one of the available formats. When the CSV has named header
Export a 1-dimension array to a Zsh array with the `-e array` option and to an associative array with the `-e dictionary` option.
##### Customise colors
You can specify your own colors set as explained [here](https://www.woodys-findings.com/scout/wiki/highlighting). Also, some presets for the macOS terminal default styles can be found in the [Highlight presets folder](Highlight-presets)
You can specify your own colors set as explained [here](https://www.woodys-findings.com/scout/wiki-command-line/highlighting). Also, some presets for the macOS terminal default styles can be found in the [Highlight presets folder](Highlight-presets)
#### Folding
Fold arrays or dictionaries at a certain depth level to make the data more readable
@ -267,7 +267,7 @@ You can find and try examples with one file *People* using the different availab
First of all, many thanks to all contributors of this library. Their help is truly appreciated.
To parse and edit XML data, as the standard library does not offer a simple way to do it, **Scout** uses the wonderful library of Marko Tadić: [AEXML](https://github.com/tadija/AEXML). He has done an amazing work. And if several XML parsing and writing libraries exist today, I would definitely recommend his. Marko, you might never read those lines, but thank you!
The same goes for the [Yams](https://www.woodys-findings.com/scout/wiki/home) and its contributors. Thank you for this project.
The same goes for the [Yams](https://github.com/jpsim/Yams) and its contributors. Thank you for this project.
Thanks also to the team at Apple behind the [ArgumentParser](https://github.com/apple/swift-argument-parser) library. They have done an incredible work to make command line tools in Swift easy to implement.

View File

@ -4,5 +4,5 @@
// MIT license, see LICENSE file for details
public enum ScoutVersion {
public static let current = "4.0.4"
public static let current = "4.1.0"
}

View File

@ -21,152 +21,19 @@ public enum ExplorerValue {
case dictionary(DictionaryValue)
}
// MARK: - Type aliases
extension ExplorerValue {
public typealias ArrayValue = [ExplorerValue]
public typealias DictionaryValue = [String: ExplorerValue]
typealias SlicePath = Slice<Path>
}
extension ExplorerValue {
public var isSingle: Bool { !isGroup }
public var isGroup: Bool {
switch self {
case .array, .dictionary: return true
default: return false
}
}
var isDictionary: Bool {
guard case .dictionary = self else { return false }
return true
}
var isArray: Bool {
guard case .array = self else { return false }
return true
}
var isEmpty: Bool {
switch self {
case .array(let array): return array.isEmpty
case .dictionary(let dict): return dict.isEmpty
default:
return false
}
}
var isNull: Bool {
if case let .string(string) = self, string == "null" {
return true
}
return false
}
}
// MARK: - Hashable
extension ExplorerValue: Hashable {}
// MARK: - Codable
extension ExplorerValue: Codable {
private struct ExplorerCodingKey: CodingKey {
var stringValue: String
var intValue: Int?
init?(stringValue: String) {
self.stringValue = stringValue
}
init?(intValue: Int) {
self.intValue = intValue
stringValue = String(intValue)
}
}
public init(from decoder: Decoder) throws {
if let container = try? decoder.container(keyedBy: ExplorerCodingKey.self) {
var dict = DictionaryValue()
try container.allKeys.forEach { (key) in
let value = try container.decode(ExplorerValue.self, forKey: key)
guard !value.isNull else { return }
dict[key.stringValue] = value
}
self = .dictionary(dict)
} else if var container = try? decoder.unkeyedContainer() {
var array = ArrayValue()
while !container.isAtEnd {
let value = try container.decode(ExplorerValue.self)
guard !value.isNull else { continue }
array.append(value)
}
self = .array(array)
} else {
let container = try decoder.singleValueContainer()
self = try .decodeSingleValue(from: container)
}
}
private static func decodeSingleValue(from container: SingleValueDecodingContainer) throws -> ExplorerValue {
if let int = try? container.decode(Int.self) {
return .int(int)
} else if let double = try? container.decode(Double.self) {
return .double(double)
} else if let string = try? container.decode(String.self) {
return .string(string)
} else if let bool = try? container.decode(Bool.self) {
return .bool(bool)
} else if let data = try? container.decode(Data.self) {
return .data(data)
} else if let date = try? container.decode(Date.self) {
return .date(date)
} else if container.decodeNil() {
return .string("null")
} else {
throw ExplorerError(description: "Unable to decode single value in data. \(container.codingPath.pathDescription)")
}
}
public func encode(to encoder: Encoder) throws {
switch self {
case .int(let int):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(int)
case .double(let double):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(double)
case .string(let string):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(string)
case .bool(let bool):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(bool)
case .data(let data):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(data)
case .date(let date):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(date)
case .array(let array):
try array.encode(to: encoder)
case .dictionary(let dict):
try dict.encode(to: encoder)
}
}
}
// MARK: - Special init
extension ExplorerValue {
@ -194,166 +61,14 @@ extension ExplorerValue {
}
static func singleFrom(string: String) -> ExplorerValue {
// swiftlint:disable statement_position
if let int = Int(string) { return .int(int) }
else if let double = Double(string) { return .double(double) }
else if let bool = Bool(string) { return .bool(bool) }
else { return .string(string) }
// swiftlint:enable statement_position
}
}
// MARK: - Expressible literal
extension ExplorerValue: ExpressibleByStringLiteral {
public init(stringLiteral value: String) {
self = .string(value)
}
}
extension ExplorerValue: ExpressibleByIntegerLiteral {
public init(integerLiteral value: Int) {
self = .int(value)
}
}
extension ExplorerValue: ExpressibleByFloatLiteral {
public init(floatLiteral value: Double) {
self = .double(value)
}
}
extension ExplorerValue: ExpressibleByBooleanLiteral {
public init(booleanLiteral value: Bool) {
self = .bool(value)
}
}
extension ExplorerValue: ExpressibleByArrayLiteral {
public init(arrayLiteral elements: ExplorerValue...) {
self = .array(elements)
}
}
extension ExplorerValue: ExpressibleByDictionaryLiteral {
public init(dictionaryLiteral elements: (String, ExplorerValue)...) {
self = .dictionary(Dictionary(uniqueKeysWithValues: elements))
}
}
// MARK: - Convenience
extension ExplorerValue {
func array(_ value: ArrayValue) -> Self { .array(value) }
func dictionary(_ value: DictionaryValue) -> Self { .dictionary(value) }
}
extension ExplorerValue {
public var int: Int? {
switch self {
case .int(let int): return int
default: return nil
}
}
public var double: Double? {
guard case let .double(double) = self else { return nil }
return double
}
@available(*, deprecated, renamed: "double")
public var real: Double? { double }
public var string: String? {
guard case let .string(string) = self else { return nil }
return string
}
public var bool: Bool? {
guard case let .bool(bool) = self else { return nil }
return bool
}
public var data: Data? {
guard case let .data(data) = self else { return nil }
return data
}
public var date: Date? {
guard case let .date(date) = self else { return nil }
return date
}
public var array: ArrayValue? {
switch self {
case .array(let array): return array
default: return nil
}
}
public var dictionary: DictionaryValue? {
switch self {
case .dictionary(let dict): return dict
default: return nil
}
}
public func array<T: ExplorerValueCreatable>(of type: T.Type) throws -> [T] {
let array = try self.array.unwrapOrThrow(.mismatchingType(ArrayValue.self, value: self))
return try array.map { try T(from: $0) }
}
public func dictionary<T: ExplorerValueCreatable>(of type: T.Type) throws -> [String: T] {
let dict = try dictionary.unwrapOrThrow(.mismatchingType(DictionaryValue.self, value: self))
return try dict.mapValues { try T(from: $0) }
}
}
// MARK: - CustomStringConvertible
extension ExplorerValue: CustomStringConvertible {
public var description: String {
switch self {
case .int(let int): return int.description
case .double(let double): return double.description
case .string(let string): return string
case .bool(let bool): return bool.description
case .data(let data): return data.base64EncodedString()
case .date(let date): return date.description
case .array(let array):
let elements = array.map(\.description).joined(separator: ",")
return "[\(elements)]"
case .dictionary(let dict):
let elements = dict.map { "\($0.key): \($0.value)" }.joined(separator: ",")
return "[\(elements)]"
if let int = Int(string) {
return .int(int)
} else if let double = Double(string) {
return .double(double)
} else if let bool = Bool(string) {
return .bool(bool)
} else {
return .string(string)
}
}
}
extension ExplorerValue: CustomDebugStringConvertible {
public var debugDescription: String { description }
}
// MARK: - Helpers and Operators
infix operator <^>
/// Apply the left function to the right operand
/// - note: Mainly used as synthetic sugar to avoid over use of brackets
func <^><A, B>(lhs: (A) -> B, rhs: A) -> B { lhs(rhs) }
extension ExplorerValue: EquatablePathExplorer {
public init(value: ExplorerValue, name: String?) {
self = value
}
}

View File

@ -0,0 +1,102 @@
//
// Scout
// Copyright (c) 2020-present Alexis Bridoux
// MIT license, see LICENSE file for details
import Foundation
extension ExplorerValue: Codable {
private struct ExplorerCodingKey: CodingKey {
var stringValue: String
var intValue: Int?
init?(stringValue: String) {
self.stringValue = stringValue
}
init?(intValue: Int) {
self.intValue = intValue
stringValue = String(intValue)
}
}
public init(from decoder: Decoder) throws {
if let container = try? decoder.container(keyedBy: ExplorerCodingKey.self) {
var dict = DictionaryValue()
try container.allKeys.forEach { (key) in
let value = try container.decode(ExplorerValue.self, forKey: key)
guard !value.isNull else { return }
dict[key.stringValue] = value
}
self = .dictionary(dict)
} else if var container = try? decoder.unkeyedContainer() {
var array = ArrayValue()
while !container.isAtEnd {
let value = try container.decode(ExplorerValue.self)
guard !value.isNull else { continue }
array.append(value)
}
self = .array(array)
} else {
let container = try decoder.singleValueContainer()
self = try .decodeSingleValue(from: container)
}
}
private static func decodeSingleValue(from container: SingleValueDecodingContainer) throws -> ExplorerValue {
if let int = try? container.decode(Int.self) {
return .int(int)
} else if let double = try? container.decode(Double.self) {
return .double(double)
} else if let string = try? container.decode(String.self) {
return .string(string)
} else if let bool = try? container.decode(Bool.self) {
return .bool(bool)
} else if let data = try? container.decode(Data.self) {
return .data(data)
} else if let date = try? container.decode(Date.self) {
return .date(date)
} else if container.decodeNil() {
return .string("null")
} else {
throw ExplorerError(description: "Unable to decode single value in data. \(container.codingPath.pathDescription)")
}
}
public func encode(to encoder: Encoder) throws {
switch self {
case .int(let int):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(int)
case .double(let double):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(double)
case .string(let string):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(string)
case .bool(let bool):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(bool)
case .data(let data):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(data)
case .date(let date):
var singleValueContainer = encoder.singleValueContainer()
try singleValueContainer.encode(date)
case .array(let array):
try array.encode(to: encoder)
case .dictionary(let dict):
try dict.encode(to: encoder)
}
}
}

View File

@ -0,0 +1,114 @@
//
// Scout
// Copyright (c) 2020-present Alexis Bridoux
// MIT license, see LICENSE file for details
import Foundation
extension ExplorerValue {
func array(_ value: ArrayValue) -> Self { .array(value) }
func dictionary(_ value: DictionaryValue) -> Self { .dictionary(value) }
}
extension ExplorerValue {
public var int: Int? {
switch self {
case .int(let int): return int
default: return nil
}
}
public var double: Double? {
guard case let .double(double) = self else { return nil }
return double
}
@available(*, deprecated, renamed: "double")
public var real: Double? { double }
public var string: String? {
guard case let .string(string) = self else { return nil }
return string
}
public var bool: Bool? {
guard case let .bool(bool) = self else { return nil }
return bool
}
public var data: Data? {
guard case let .data(data) = self else { return nil }
return data
}
public var date: Date? {
guard case let .date(date) = self else { return nil }
return date
}
public var array: ArrayValue? {
switch self {
case .array(let array): return array
default: return nil
}
}
public var dictionary: DictionaryValue? {
switch self {
case .dictionary(let dict): return dict
default: return nil
}
}
public func array<T: ExplorerValueCreatable>(of type: T.Type) throws -> [T] {
let array = try self.array.unwrapOrThrow(.mismatchingType(ArrayValue.self, value: self))
return try array.map { try T(from: $0) }
}
public func dictionary<T: ExplorerValueCreatable>(of type: T.Type) throws -> [String: T] {
let dict = try dictionary.unwrapOrThrow(.mismatchingType(DictionaryValue.self, value: self))
return try dict.mapValues { try T(from: $0) }
}
}
// MARK: - Group
extension ExplorerValue {
public var isSingle: Bool { !isGroup }
public var isGroup: Bool {
switch self {
case .array, .dictionary: return true
default: return false
}
}
var isDictionary: Bool {
guard case .dictionary = self else { return false }
return true
}
var isArray: Bool {
guard case .array = self else { return false }
return true
}
var isEmpty: Bool {
switch self {
case .array(let array): return array.isEmpty
case .dictionary(let dict): return dict.isEmpty
default:
return false
}
}
var isNull: Bool {
if case let .string(string) = self, string == "null" {
return true
}
return false
}
}

View File

@ -0,0 +1,29 @@
//
// Scout
// Copyright (c) 2020-present Alexis Bridoux
// MIT license, see LICENSE file for details
extension ExplorerValue: CustomStringConvertible {
public var description: String {
switch self {
case .int(let int): return int.description
case .double(let double): return double.description
case .string(let string): return string
case .bool(let bool): return bool.description
case .data(let data): return data.base64EncodedString()
case .date(let date): return date.description
case .array(let array):
let elements = array.map(\.description).joined(separator: ",")
return "[\(elements)]"
case .dictionary(let dict):
let elements = dict.map { "\($0.key): \($0.value)" }.joined(separator: ",")
return "[\(elements)]"
}
}
}
extension ExplorerValue: CustomDebugStringConvertible {
public var debugDescription: String { description }
}

View File

@ -0,0 +1,46 @@
//
// Scout
// Copyright (c) 2020-present Alexis Bridoux
// MIT license, see LICENSE file for details
extension ExplorerValue: ExpressibleByStringLiteral {
public init(stringLiteral value: String) {
self = .string(value)
}
}
extension ExplorerValue: ExpressibleByIntegerLiteral {
public init(integerLiteral value: Int) {
self = .int(value)
}
}
extension ExplorerValue: ExpressibleByFloatLiteral {
public init(floatLiteral value: Double) {
self = .double(value)
}
}
extension ExplorerValue: ExpressibleByBooleanLiteral {
public init(booleanLiteral value: Bool) {
self = .bool(value)
}
}
extension ExplorerValue: ExpressibleByArrayLiteral {
public init(arrayLiteral elements: ExplorerValue...) {
self = .array(elements)
}
}
extension ExplorerValue: ExpressibleByDictionaryLiteral {
public init(dictionaryLiteral elements: (String, ExplorerValue)...) {
self = .dictionary(Dictionary(uniqueKeysWithValues: elements))
}
}

View File

@ -21,3 +21,17 @@ extension PathExplorer {
return computedIndex
}
}
// MARK: - Operators
infix operator <^>
/// Apply the left function to the right operand
/// - note: Mainly used as synthetic sugar to avoid over use of brackets
func <^><A, B>(lhs: (A) -> B, rhs: A) -> B { lhs(rhs) }
extension ExplorerValue: EquatablePathExplorer {
public init(value: ExplorerValue, name: String?) {
self = value
}
}

View File

@ -15,7 +15,7 @@ public protocol ExplorerValueRepresentable {
func explorerValue() throws -> ExplorerValue
}
/// Can be instantiated from an `ExplorerValue`
/// Can be instantiated from an ``ExplorerValue``
/// - note: Default implementation provided for types conforming to `Decodable`
public protocol ExplorerValueCreatable {
@ -23,7 +23,7 @@ public protocol ExplorerValueCreatable {
init(from explorerValue: ExplorerValue) throws
}
/// Can be represented *as* and instantiated *from* an `ExplorerValue`
/// Can be represented *as* and instantiated *from* an ``ExplorerValue``
/// - note: Default implementation provided for types conforming to `Codable`
public typealias ExplorerValueConvertible = ExplorerValueRepresentable & ExplorerValueCreatable

View File

@ -23,7 +23,10 @@ extension ExplorerXML {
/// When there is only one child, it's not possible to make sure of the group value that should be created: array or dictionary.
/// The `default` strategy will look at the child name. If it's the default XML element name, an array will be created.
/// Otherwise, it will be a dictionary. A custom function can be used.
public func explorerValue(keepingAttributes: Bool = true, singleChildStrategy: SingleChildStrategy = .default) -> ExplorerValue {
public func explorerValue(
keepingAttributes: Bool = true,
singleChildStrategy: SingleChildStrategy = .default
) -> ExplorerValue {
if children.isEmpty {
return singleExplorerValue(keepingAttributes: keepingAttributes)
}

View File

@ -36,7 +36,7 @@ Serializable PathExplorers like Plist, JSON and YAML or others like XML can use
The new ``ExplorerValue`` is the following enum.
```swift
public indirect enum ExplorerValue {
public enum ExplorerValue {
case int(Int)
case double(Double)
case string(String)

View File

@ -12,6 +12,9 @@ Supported formats:
## Topics
### Updates
- <doc:new-4.0.0>
### Essential
- <doc:getting-started>
- ``PathExplorer``
@ -21,6 +24,7 @@ Supported formats:
- ``PathExplorer``
- ``PathExplorers``
- ``ExplorerValue``
- ``ExplorerError``
### Manipulate paths
@ -47,10 +51,6 @@ Supported formats:
### Set and add custom types
- <doc:custom-types-explorerValue>
- ``ExplorerValue``
- ``ExplorerValueCreatable``
- ``ExplorerValueRepresentable``
- ``ExplorerValueConvertible``
### Follow updates
- <doc:new-4.0.0>

View File

@ -21,6 +21,7 @@ Written by Alexis Bridoux. Copyright (c) 2020-present.
MIT license, see LICENSE file for details
"""
@main
struct ScoutMainCommand: ParsableCommand {
// MARK: - Constants

View File

@ -1,6 +0,0 @@
//
// Scout
// Copyright (c) 2020-present Alexis Bridoux
// MIT license, see LICENSE file for details
ScoutMainCommand.main()

View File

@ -8,12 +8,11 @@ import Scout
/// Type serving only the purpose to map dictionaries or arrays
/// returned by a `PathExplorer` to a `String` value.
///
/// Init throws if the value is not single.
public struct GroupExportValue: ExplorerValueCreatable {
public let value: String
/// - throws: if the value is not single.
public init(from explorerValue: ExplorerValue) throws {
switch explorerValue {
case .string(let string): value = string

View File

@ -5,6 +5,7 @@
import Scout
/// The possible types when setting values in a path
public enum ValueType: Equatable {
case string(String)
case real(String)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:5Scout6BoundsV","extendedModule":"Swift","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Equatable-Implementations"]]},"references":{"doc://Scout/documentation/Scout/Bounds/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/scout\/bounds\/equatable-implementations"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/Bounds/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/!=(_:_:)"}}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/!=(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/!=(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Equatable.!=(_:_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"!=(_:_:)","roleHeading":"Operator","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"symbolKind":"op","externalID":"s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:5Scout6BoundsV5BoundV","extendedModule":"Swift","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/Equatable-Implementations"]]},"references":{"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout/Bounds/Bound/Equatable-Implementations":{"role":"collectionGroup","title":"Equatable Implementations","abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/Equatable-Implementations","kind":"article","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/equatable-implementations"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout/Bounds/Bound/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/!=(_:_:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/Equatable-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Scout"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound"]]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/!=(_:_:)"],"generated":true}],"references":{"doc://Scout/documentation/Scout/Bounds/Bound/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/!=(_:_:)"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"first"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","preciseIdentifier":"s:5Scout6BoundsV","text":"Bounds"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV","text":"Bound"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/first"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/first","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"first"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"}],"title":"first","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout6BoundsV5BoundV5firstAEvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound"]]},"references":{"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout/Bounds/Bound/first":{"role":"symbol","title":"first","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"first"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/first","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/first"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/init(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/init(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"title":"init(_:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:5Scout6BoundsV5BoundVyAESicfc","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound"]]},"references":{"doc://Scout/documentation/Scout/Bounds/Bound/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/init(_:)"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"integerLiteral"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/init(integerliteral:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/init(integerLiteral:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"ExpressibleByIntegerLiteral.init(integerLiteral:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"integerLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"title":"init(integerLiteral:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:5Scout6BoundsV5BoundV14integerLiteralAESi_tcfc","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound"]]},"references":{"doc://Scout/documentation/Scout/Bounds/Bound/init(integerLiteral:)":{"role":"symbol","title":"init(integerLiteral:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"integerLiteral"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/init(integerLiteral:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/init(integerliteral:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"IntegerLiteralType"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/integerliteraltype"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/IntegerLiteralType","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"ExpressibleByIntegerLiteral.IntegerLiteralType"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"IntegerLiteralType"}],"title":"Bounds.Bound.IntegerLiteralType","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:5Scout6BoundsV5BoundV18IntegerLiteralTypea","modules":[{"name":"Scout"}],"navigatorTitle":[{"kind":"identifier","text":"IntegerLiteralType"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound"]]},"references":{"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout/Bounds/Bound/IntegerLiteralType":{"role":"symbol","title":"Bounds.Bound.IntegerLiteralType","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"IntegerLiteralType"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/IntegerLiteralType","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"IntegerLiteralType"}],"url":"\/documentation\/scout\/bounds\/bound\/integerliteraltype"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"last"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","preciseIdentifier":"s:5Scout6BoundsV","text":"Bounds"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV","text":"Bound"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/bound\/last"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/last","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"last"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"}],"title":"last","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout6BoundsV5BoundV4lastAEvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds","doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/Bounds/Bound/last":{"role":"symbol","title":"last","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"last"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound\/last","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/bound\/last"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"},"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"}}}

View File

@ -0,0 +1 @@
{"variants":[{"paths":["\/documentation\/scout\/bounds\/equatable-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Equatable-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Scout"}],"role":"collectionGroup","title":"Equatable Implementations"},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds"]]},"topicSections":[{"title":"Operators","identifiers":["doc:\/\/Scout\/documentation\/Scout\/Bounds\/!=(_:_:)"],"generated":true}],"references":{"doc://Scout/documentation/Scout/Bounds/!=(_:_:)":{"role":"symbol","title":"!=(_:_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"!="},{"kind":"text","text":" "},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/!=(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/!=(_:_:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"lower"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","preciseIdentifier":"s:5Scout6BoundsV","text":"Bounds"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV","text":"Bound"},{"kind":"text","text":", "},{"kind":"externalParam","text":"upper"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","preciseIdentifier":"s:5Scout6BoundsV","text":"Bounds"},{"kind":"text","text":"."},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV","text":"Bound"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/init(lower:upper:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/init(lower:upper:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"lower"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"upper"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"},{"kind":"text","text":")"}],"title":"init(lower:upper:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:5Scout6BoundsV5lower5upperA2C5BoundV_AGtcfc","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/Bounds/Bound":{"role":"symbol","title":"Bounds.Bound","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bound"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/Bound","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bound"}],"url":"\/documentation\/scout\/bounds\/bound"},"doc://Scout/documentation/Scout/Bounds/init(lower:upper:)":{"role":"symbol","title":"init(lower:upper:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"lower"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"upper"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bounds","preciseIdentifier":"s:5Scout6BoundsV"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Bound","preciseIdentifier":"s:5Scout6BoundsV5BoundV"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/init(lower:upper:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/init(lower:upper:)"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"range"},{"kind":"text","text":"("},{"kind":"externalParam","text":"arrayCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"return-value","level":2,"type":"heading","text":"Return Value"},{"type":"paragraph","inlineContent":[{"type":"text","text":"A range made from the lower and upper bounds"}]}]},{"kind":"parameters","parameters":[{"name":"arrayCount","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The count of the array to slice"}]}]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"If the bounds are invalid"}]}],"type":"aside","name":"Throws"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/bounds\/range(arraycount:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/range(arrayCount:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Compute a range with the bounds for the array count."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"range"},{"kind":"text","text":"("},{"kind":"externalParam","text":"arrayCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":">"}],"title":"range(arrayCount:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout6BoundsV5range10arrayCountSNySiGSi_tKF","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/Bounds"]]},"references":{"doc://Scout/documentation/Scout/Bounds/range(arrayCount:)":{"role":"symbol","title":"range(arrayCount:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"range"},{"kind":"text","text":"("},{"kind":"externalParam","text":"arrayCount"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"ClosedRange","preciseIdentifier":"s:SN"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Compute a range with the bounds for the array count."}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds\/range(arrayCount:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/bounds\/range(arraycount:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/Bounds":{"role":"symbol","title":"Bounds","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bounds"}],"abstract":[{"type":"text","text":"Lower and upper bounds to be used to slice an array"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/Bounds","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Bounds"}],"url":"\/documentation\/scout\/bounds"}}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","preciseIdentifier":"s:5Scout10DataFormatO","text":"DataFormat"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformat\/dataformat"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/dataFormat","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"dataFormat","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"symbolKind":"property","externalID":"s:5Scout13CodableFormatP04dataC0AA04DataC0OvpZ","required":true,"modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormat"]]},"references":{"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"},"doc://Scout/documentation/Scout/CodableFormat/dataFormat":{"role":"symbol","title":"dataFormat","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/dataFormat","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/scout\/codableformat\/dataformat"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/DataFormat":{"role":"symbol","title":"DataFormat","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"DataFormat"}],"abstract":[{"type":"text","text":"Unique identifier of a data format"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DataFormat"}],"url":"\/documentation\/scout\/dataformat"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformat\/decode(_:from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/decode(_:from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"decode(_:from:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"symbolKind":"method","externalID":"s:5Scout13CodableFormatP6decode_4fromqd__qd__m_10Foundation4DataVtKSeRd__lFZ","required":true,"modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormat"]]},"references":{"doc://Scout/documentation/Scout/CodableFormat/decode(_:from:)":{"role":"symbol","title":"decode(_:from:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/decode(_:from:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/scout\/codableformat\/decode(_:from:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformat\/encode(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/encode(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"encode(_:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:5Scout13CodableFormatPAAE6encodey10Foundation4DataVqd__KSERd__lFZ","extendedModule":"Scout","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormat"]]},"references":{"doc://Scout/documentation/Scout/CodableFormat/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformat\/encode(_:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformat\/encode(_:rootname:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/encode(_:rootName:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"encode(_:rootName:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:5Scout13CodableFormatP6encode_8rootName10Foundation4DataVqd___SSSgtKSERd__lFZ","required":true,"modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormat"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"},"doc://Scout/documentation/Scout/CodableFormat/encode(_:rootName:)":{"role":"symbol","title":"encode(_:rootName:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/encode(_:rootName:)","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/scout\/codableformat\/encode(_:rootname:)"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformat\/foldedregexpattern"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/foldedRegexPattern","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Regex used to find folded marks in the description of a folded explorer"}],"kind":"symbol","metadata":{"role":"symbol","title":"foldedRegexPattern","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"symbolKind":"property","externalID":"s:5Scout13CodableFormatP18foldedRegexPatternSSvpZ","required":true,"modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormat"]]},"references":{"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"},"doc://Scout/documentation/Scout/CodableFormat/foldedRegexPattern":{"role":"symbol","title":"foldedRegexPattern","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"Regex used to find folded marks in the description of a folded explorer"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat\/foldedRegexPattern","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/scout\/codableformat\/foldedregexpattern"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondateiso8601\/codableformat-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/CodableFormat-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Scout"}],"role":"collectionGroup","title":"CodableFormat Implementations"},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601"]]},"topicSections":[{"title":"Type Methods","identifiers":["doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/encode(_:)"],"generated":true}],"references":{"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601":{"role":"symbol","title":"CodableFormats.JsonDateIso8601","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDateIso8601"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDateIso8601"}],"url":"\/documentation\/scout\/codableformats\/jsondateiso8601"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondateiso8601\/encode(_:)"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","preciseIdentifier":"s:5Scout10DataFormatO","text":"DataFormat"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondateiso8601\/dataformat"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/dataFormat","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.dataFormat"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"title":"dataFormat","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO15JsonDateIso8601O10dataFormatAA04DataH0OvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601/dataFormat":{"role":"symbol","title":"dataFormat","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/dataFormat","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondateiso8601\/dataformat"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601":{"role":"symbol","title":"CodableFormats.JsonDateIso8601","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDateIso8601"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDateIso8601"}],"url":"\/documentation\/scout\/codableformats\/jsondateiso8601"},"doc://Scout/documentation/Scout/DataFormat":{"role":"symbol","title":"DataFormat","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"DataFormat"}],"abstract":[{"type":"text","text":"Unique identifier of a data format"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DataFormat"}],"url":"\/documentation\/scout\/dataformat"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondateiso8601\/decode(_:from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/decode(_:from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.decode(_:from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"title":"decode(_:from:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout14CodableFormatsO15JsonDateIso8601O6decode_4fromxxm_10Foundation4DataVtKSeRzlFZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601/decode(_:from:)":{"role":"symbol","title":"decode(_:from:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/decode(_:from:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondateiso8601\/decode(_:from:)"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601":{"role":"symbol","title":"CodableFormats.JsonDateIso8601","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDateIso8601"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDateIso8601"}],"url":"\/documentation\/scout\/codableformats\/jsondateiso8601"}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondateiso8601\/foldedregexpattern"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/foldedRegexPattern","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.foldedRegexPattern"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"foldedRegexPattern","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO15JsonDateIso8601O18foldedRegexPatternSSvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601/foldedRegexPattern":{"role":"symbol","title":"foldedRegexPattern","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601\/foldedRegexPattern","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondateiso8601\/foldedregexpattern"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/JsonDateIso8601":{"role":"symbol","title":"CodableFormats.JsonDateIso8601","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDateIso8601"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDateIso8601","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDateIso8601"}],"url":"\/documentation\/scout\/codableformats\/jsondateiso8601"}}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondefault\/codableformat-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/CodableFormat-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Scout"}],"role":"collectionGroup","title":"CodableFormat Implementations"},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault"]]},"topicSections":[{"title":"Type Methods","identifiers":["doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/encode(_:)"],"generated":true}],"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault":{"role":"symbol","title":"CodableFormats.JsonDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDefault"}],"url":"\/documentation\/scout\/codableformats\/jsondefault"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/encode(_:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","preciseIdentifier":"s:5Scout10DataFormatO","text":"DataFormat"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondefault\/dataformat"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/dataFormat","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.dataFormat"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"title":"dataFormat","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO11JsonDefaultO10dataFormatAA04DataG0OvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/dataFormat":{"role":"symbol","title":"dataFormat","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/dataFormat","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/dataformat"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/DataFormat":{"role":"symbol","title":"DataFormat","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"DataFormat"}],"abstract":[{"type":"text","text":"Unique identifier of a data format"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DataFormat"}],"url":"\/documentation\/scout\/dataformat"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault":{"role":"symbol","title":"CodableFormats.JsonDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDefault"}],"url":"\/documentation\/scout\/codableformats\/jsondefault"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondefault\/decode(_:from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/decode(_:from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.decode(_:from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"title":"decode(_:from:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout14CodableFormatsO11JsonDefaultO6decode_4fromxxm_10Foundation4DataVtKSeRzlFZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/decode(_:from:)":{"role":"symbol","title":"decode(_:from:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/decode(_:from:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/decode(_:from:)"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault":{"role":"symbol","title":"CodableFormats.JsonDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDefault"}],"url":"\/documentation\/scout\/codableformats\/jsondefault"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondefault\/encode(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/encode(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.encode(_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"encode(_:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:5Scout13CodableFormatPAAE6encodey10Foundation4DataVqd__KSERd__lFZ::SYNTHESIZED::s:5Scout14CodableFormatsO11JsonDefaultO","extendedModule":"Scout","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/CodableFormat-Implementations"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault":{"role":"symbol","title":"CodableFormats.JsonDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDefault"}],"url":"\/documentation\/scout\/codableformats\/jsondefault"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/encode(_:)"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/CodableFormat-Implementations":{"role":"collectionGroup","title":"CodableFormat Implementations","abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/CodableFormat-Implementations","kind":"article","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/codableformat-implementations"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondefault\/encode(_:rootname:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/encode(_:rootName:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.encode(_:rootName:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"title":"encode(_:rootName:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout14CodableFormatsO11JsonDefaultO6encode_8rootName10Foundation4DataVx_SSSgtKSERzlFZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/JsonDefault":{"role":"symbol","title":"CodableFormats.JsonDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDefault"}],"url":"\/documentation\/scout\/codableformats\/jsondefault"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/encode(_:rootName:)":{"role":"symbol","title":"encode(_:rootName:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/encode(_:rootName:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/encode(_:rootname:)"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/jsondefault\/foldedregexpattern"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/foldedRegexPattern","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.foldedRegexPattern"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"foldedRegexPattern","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO11JsonDefaultO18foldedRegexPatternSSvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/JsonDefault":{"role":"symbol","title":"CodableFormats.JsonDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JsonDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JsonDefault"}],"url":"\/documentation\/scout\/codableformats\/jsondefault"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/JsonDefault/foldedRegexPattern":{"role":"symbol","title":"foldedRegexPattern","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/JsonDefault\/foldedRegexPattern","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/jsondefault\/foldedregexpattern"}}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"variants":[{"paths":["\/documentation\/scout\/codableformats\/plistdefault\/codableformat-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/CodableFormat-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Scout"}],"role":"collectionGroup","title":"CodableFormat Implementations"},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault"]]},"topicSections":[{"title":"Type Methods","identifiers":["doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/encode(_:)"],"generated":true}],"references":{"doc://Scout/documentation/Scout/CodableFormats/PlistDefault/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/plistdefault\/encode(_:)"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault":{"role":"symbol","title":"CodableFormats.PlistDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PlistDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"PlistDefault"}],"url":"\/documentation\/scout\/codableformats\/plistdefault"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","preciseIdentifier":"s:5Scout10DataFormatO","text":"DataFormat"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/plistdefault\/dataformat"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/dataFormat","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.dataFormat"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"title":"dataFormat","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO12PlistDefaultO10dataFormatAA04DataG0OvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault/dataFormat":{"role":"symbol","title":"dataFormat","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/dataFormat","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/plistdefault\/dataformat"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault":{"role":"symbol","title":"CodableFormats.PlistDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PlistDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"PlistDefault"}],"url":"\/documentation\/scout\/codableformats\/plistdefault"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/DataFormat":{"role":"symbol","title":"DataFormat","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"DataFormat"}],"abstract":[{"type":"text","text":"Unique identifier of a data format"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DataFormat"}],"url":"\/documentation\/scout\/dataformat"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/plistdefault\/decode(_:from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/decode(_:from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.decode(_:from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"title":"decode(_:from:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout14CodableFormatsO12PlistDefaultO6decode_4fromxxm_10Foundation4DataVtKSeRzlFZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault/decode(_:from:)":{"role":"symbol","title":"decode(_:from:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/decode(_:from:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/plistdefault\/decode(_:from:)"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault":{"role":"symbol","title":"CodableFormats.PlistDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PlistDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"PlistDefault"}],"url":"\/documentation\/scout\/codableformats\/plistdefault"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/plistdefault\/encode(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/encode(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.encode(_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"encode(_:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:5Scout13CodableFormatPAAE6encodey10Foundation4DataVqd__KSERd__lFZ::SYNTHESIZED::s:5Scout14CodableFormatsO12PlistDefaultO","extendedModule":"Scout","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/CodableFormat-Implementations"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault/CodableFormat-Implementations":{"role":"collectionGroup","title":"CodableFormat Implementations","abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/CodableFormat-Implementations","kind":"article","type":"topic","url":"\/documentation\/scout\/codableformats\/plistdefault\/codableformat-implementations"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/plistdefault\/encode(_:)"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault":{"role":"symbol","title":"CodableFormats.PlistDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PlistDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"PlistDefault"}],"url":"\/documentation\/scout\/codableformats\/plistdefault"}}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/plistdefault\/foldedregexpattern"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/foldedRegexPattern","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.foldedRegexPattern"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"foldedRegexPattern","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO12PlistDefaultO18foldedRegexPatternSSvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/PlistDefault/foldedRegexPattern":{"role":"symbol","title":"foldedRegexPattern","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault\/foldedRegexPattern","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/plistdefault\/foldedregexpattern"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/PlistDefault":{"role":"symbol","title":"CodableFormats.PlistDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"PlistDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/PlistDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"PlistDefault"}],"url":"\/documentation\/scout\/codableformats\/plistdefault"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"}}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"variants":[{"paths":["\/documentation\/scout\/codableformats\/yamldefault\/codableformat-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/CodableFormat-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"Scout"}],"role":"collectionGroup","title":"CodableFormat Implementations"},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault"]]},"topicSections":[{"title":"Type Methods","identifiers":["doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/encode(_:)"],"generated":true}],"references":{"doc://Scout/documentation/Scout/CodableFormats/YamlDefault":{"role":"symbol","title":"CodableFormats.YamlDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"YamlDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"YamlDefault"}],"url":"\/documentation\/scout\/codableformats\/yamldefault"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/encode(_:)"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","preciseIdentifier":"s:5Scout10DataFormatO","text":"DataFormat"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/yamldefault\/dataformat"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/dataFormat","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.dataFormat"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"title":"dataFormat","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO11YamlDefaultO10dataFormatAA04DataG0OvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/dataFormat":{"role":"symbol","title":"dataFormat","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"dataFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"DataFormat","preciseIdentifier":"s:5Scout10DataFormatO"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/dataFormat","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/dataformat"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/DataFormat":{"role":"symbol","title":"DataFormat","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"DataFormat"}],"abstract":[{"type":"text","text":"Unique identifier of a data format"}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/DataFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"DataFormat"}],"url":"\/documentation\/scout\/dataformat"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault":{"role":"symbol","title":"CodableFormats.YamlDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"YamlDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"YamlDefault"}],"url":"\/documentation\/scout\/codableformats\/yamldefault"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"type"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Decodable","preciseIdentifier":"s:Se"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/yamldefault\/decode(_:from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/decode(_:from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.decode(_:from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"title":"decode(_:from:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout14CodableFormatsO11YamlDefaultO6decode_4fromxxm_10Foundation4DataVtKSeRzlFZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/YamlDefault":{"role":"symbol","title":"CodableFormats.YamlDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"YamlDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"YamlDefault"}],"url":"\/documentation\/scout\/codableformats\/yamldefault"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/decode(_:from:)":{"role":"symbol","title":"decode(_:from:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":".Type, "},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"D"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/decode(_:from:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/decode(_:from:)"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/yamldefault\/encode(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/encode(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.encode(_:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"role":"symbol","title":"encode(_:)","roleHeading":"Type Method","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"symbolKind":"method","externalID":"s:5Scout13CodableFormatPAAE6encodey10Foundation4DataVqd__KSERd__lFZ::SYNTHESIZED::s:5Scout14CodableFormatsO11YamlDefaultO","extendedModule":"Scout","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/CodableFormat-Implementations"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats/YamlDefault":{"role":"symbol","title":"CodableFormats.YamlDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"YamlDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"YamlDefault"}],"url":"\/documentation\/scout\/codableformats\/yamldefault"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/CodableFormat-Implementations":{"role":"collectionGroup","title":"CodableFormat Implementations","abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/CodableFormat-Implementations","kind":"article","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/codableformat-implementations"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/encode(_:)":{"role":"symbol","title":"encode(_:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/encode(_:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/encode(_:)"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":" "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Encodable","preciseIdentifier":"s:SE"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/yamldefault\/encode(_:rootname:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/encode(_:rootName:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.encode(_:rootName:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"title":"encode(_:rootName:)","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"s:5Scout14CodableFormatsO11YamlDefaultO6encode_8rootName10Foundation4DataVx_SSSgtKSERzlFZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault"]]},"references":{"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/encode(_:rootName:)":{"role":"symbol","title":"encode(_:rootName:)","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"encode"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"E"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"E"},{"kind":"text","text":", "},{"kind":"externalParam","text":"rootName"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/encode(_:rootName:)","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/encode(_:rootname:)"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault":{"role":"symbol","title":"CodableFormats.YamlDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"YamlDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"YamlDefault"}],"url":"\/documentation\/scout\/codableformats\/yamldefault"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codableformats\/yamldefault\/foldedregexpattern"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/foldedRegexPattern","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CodableFormat.foldedRegexPattern"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"foldedRegexPattern","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout14CodableFormatsO11YamlDefaultO18foldedRegexPatternSSvpZ","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodableFormats","doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault":{"role":"symbol","title":"CodableFormats.YamlDefault","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"YamlDefault"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"YamlDefault"}],"url":"\/documentation\/scout\/codableformats\/yamldefault"},"doc://Scout/documentation/Scout/CodableFormats":{"role":"symbol","title":"CodableFormats","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormats"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormats"}],"url":"\/documentation\/scout\/codableformats"},"doc://Scout/documentation/Scout/CodableFormats/YamlDefault/foldedRegexPattern":{"role":"symbol","title":"foldedRegexPattern","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"foldedRegexPattern"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormats\/YamlDefault\/foldedRegexPattern","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codableformats\/yamldefault\/foldedregexpattern"}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"bool"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codablepathexplorer\/bool"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer\/bool","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"PathExplorer.bool"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"bool"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":"?"}],"title":"bool","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout19CodablePathExplorerV4boolSbSgvp","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodablePathExplorer":{"role":"symbol","title":"CodablePathExplorer","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodablePathExplorer"}],"abstract":[{"type":"text","text":"A concrete implementation of "},{"type":"codeVoice","code":"PathExplorer"},{"type":"text","text":" with a specific "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat"},{"type":"text","text":"."}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodablePathExplorer"}],"url":"\/documentation\/scout\/codablepathexplorer"},"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"},"doc://Scout/documentation/Scout/CodablePathExplorer/bool":{"role":"symbol","title":"bool","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"bool"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer\/bool","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codablepathexplorer\/bool"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codablepathexplorer\/data"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer\/data","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"PathExplorer.data"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"title":"data","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout19CodablePathExplorerV4data10Foundation4DataVSgvp","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer"]]},"references":{"doc://Scout/documentation/Scout/CodablePathExplorer":{"role":"symbol","title":"CodablePathExplorer","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodablePathExplorer"}],"abstract":[{"type":"text","text":"A concrete implementation of "},{"type":"codeVoice","code":"PathExplorer"},{"type":"text","text":" with a specific "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat"},{"type":"text","text":"."}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodablePathExplorer"}],"url":"\/documentation\/scout\/codablepathexplorer"},"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"},"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodablePathExplorer/data":{"role":"symbol","title":"data","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"data"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Data","preciseIdentifier":"s:10Foundation4DataV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer\/data","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codablepathexplorer\/data"}}}

View File

@ -0,0 +1 @@
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"date"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/scout\/codablepathexplorer\/date"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer\/date","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"PathExplorer.date"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"date"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"title":"date","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:5Scout19CodablePathExplorerV4date10Foundation4DateVSgvp","modules":[{"name":"Scout"}]},"hierarchy":{"paths":[["doc:\/\/Scout\/documentation\/Scout","doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer"]]},"references":{"doc://Scout/documentation/Scout":{"role":"collection","title":"Scout","abstract":[{"type":"text","text":"This library aims to make specific formats data values reading and writing simple when the data format is not known at build time."}],"identifier":"doc:\/\/Scout\/documentation\/Scout","kind":"symbol","type":"topic","url":"\/documentation\/scout"},"doc://Scout/documentation/Scout/CodableFormat":{"role":"symbol","title":"CodableFormat","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodableFormat"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodableFormat"}],"url":"\/documentation\/scout\/codableformat"},"doc://Scout/documentation/Scout/CodablePathExplorer/date":{"role":"symbol","title":"date","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"date"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Date","preciseIdentifier":"s:10Foundation4DateV"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer\/date","kind":"symbol","type":"topic","url":"\/documentation\/scout\/codablepathexplorer\/date"},"doc://Scout/documentation/Scout/CodablePathExplorer":{"role":"symbol","title":"CodablePathExplorer","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"CodablePathExplorer"}],"abstract":[{"type":"text","text":"A concrete implementation of "},{"type":"codeVoice","code":"PathExplorer"},{"type":"text","text":" with a specific "},{"type":"reference","isActive":true,"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodableFormat"},{"type":"text","text":"."}],"identifier":"doc:\/\/Scout\/documentation\/Scout\/CodablePathExplorer","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CodablePathExplorer"}],"url":"\/documentation\/scout\/codablepathexplorer"}}}

Some files were not shown because too many files have changed in this diff Show More