JSONValue

DESCRIPTION

JSONValue is used to represent arbitrary JSON values (numbers/strings/arrays/objects). It implements Equatable and Codable interfaces and as such can be used with JSONEncoder and JSONDecoder. To convert a Codable to/from a JSONValue you may use JSONValueEncoder and JSONValueDecoder.

DECLARATION

public enum JSONValue: Equatable