Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gonzalezreal/swift-any-value

A Swift Codable type that serves as a placeholder for any JSON value
https://github.com/gonzalezreal/swift-any-value

Last synced: 11 days ago
JSON representation

A Swift Codable type that serves as a placeholder for any JSON value

Awesome Lists containing this project

README

        

# AnyValue
![Swift 5.1](https://img.shields.io/badge/Swift-5.1-orange.svg)
[![Swift Package Manager](https://img.shields.io/badge/spm-compatible-brightgreen.svg?style=flat)](https://swift.org/package-manager)
[![Twitter: @gonzalezreal](https://img.shields.io/badge/[email protected]?style=flat)](https://twitter.com/gonzalezreal)

**AnyValue** is a Swift `Codable` type that serves as a placeholder for any JSON value.

## Installation
**Using the Swift Package Manager**

Add **AnyValue** as a dependency to your `Package.swift` file. For more information, see the [Swift Package Manager documentation](https://github.com/apple/swift-package-manager/tree/master/Documentation).

```
.package(url: "https://github.com/gonzalezreal/AnyValue", from: "1.0.0")
```

## Help & Feedback
- [Open an issue](https://github.com/gonzalezreal/AnyValue/issues/new) if you need help, if you found a bug, or if you want to discuss a feature request.
- [Open a PR](https://github.com/gonzalezreal/AnyValue/pull/new/master) if you want to make some change to `AnyValue`.
- Contact [@gonzalezreal](https://twitter.com/gonzalezreal) on Twitter.