Conversion
public enum Conversion
Enum definining the supported JSON conversions
-
Convert from JSON. If
JSONCache.casingis.snake_case, the conversion is fromsnake_casetocamelCase; ifJSONCache.casingis.camelCase, no casing conversion is done, but reserved words are mapped to qualified counterparts (seeconvert(_:dictionary:qualifier:)for details).Declaration
Swift
case fromJSON -
Convert to JSON. If
JSONCache.casingis.snake_case, the conversion is fromcamelCasetosnake_case; ifJSONCache.casingis.camelCase, no casing conversion is done, but qualified attribute names are mapped to their unqualified counterparts (see theconvert(_:dictionary:qualifier:)for details).Declaration
Swift
case toJSON
View on GitHub
Conversion Enumeration Reference