Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanhimmelman committed Dec 11, 2016
1 parent 03c49e0 commit 45b3b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Map.swift
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Sources/Mapper.swift
Expand Up @@ -37,7 +37,7 @@ public enum MappingType {
public final class Mapper<N: BaseMappable> {

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
Expand Down

0 comments on commit 45b3b51

Please sign in to comment.