Instance Propertyorlandos-nl.ikigajson 2.2.3IkigaJSON
settings
These settings influence the encoding process.
JSONEncoder.swift:210var settings: JSONEncoderSettings
Other members in extension
Type members
Instance members
var userInfo: [CodingUserInfoKey : Any]
func encode<E>(E
) throws -> Data func encodeAndWrite<E>(E, into: inout ByteBuffer
) throws Encodes the provided value as JSON into the given buffer.
func encodeJSONArray<E>(from: E
) throws -> JSONArray Encodes the provided value as JSON and returns a JSON Array. If the value is not a JSON Array, an error is thrown.
func encodeJSONObject<E>(from: E
) throws -> JSONObject Encodes the provided value as JSON and returns a JSON Object. If the value is not a JSON Object, an error is thrown.