From 45b3b5197d08a0be26c2b820d38b6088b10d55bf Mon Sep 17 00:00:00 2001 From: Tristan Himmelman Date: Sun, 11 Dec 2016 17:06:26 -0500 Subject: [PATCH] Added comment --- Sources/Map.swift | 2 +- Sources/Mapper.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Map.swift b/Sources/Map.swift index 4d5edd4b..22f87b5a 100644 --- a/Sources/Map.swift +++ b/Sources/Map.swift @@ -45,7 +45,7 @@ public final class Map { var keyIsNested = false public internal(set) var nestedKeyDelimiter: String = "." public var context: MapContext? - public var shouldIncludeNilValues = false + public var shouldIncludeNilValues = false /// If this is set to true, toJSON output will include null values for any variables that are not set. let toObject: Bool // indicates whether the mapping is being applied to an existing object diff --git a/Sources/Mapper.swift b/Sources/Mapper.swift index 5fc90ac3..9071acc0 100755 --- a/Sources/Mapper.swift +++ b/Sources/Mapper.swift @@ -37,7 +37,7 @@ public enum MappingType { public final class Mapper { public var context: MapContext? - public var shouldIncludeNilValues = false + public var shouldIncludeNilValues = false /// If this is set to true, toJSON output will include null values for any variables that are not set. public init(context: MapContext? = nil, shouldIncludeNilValues: Bool = false){ self.context = context