From 6ecf986b2d00fc7cf5a9c3fe1410cc4032dcccdf Mon Sep 17 00:00:00 2001 From: Alexey Minaev Date: Mon, 1 Feb 2016 09:11:24 +0100 Subject: [PATCH] JSONDictionary public getter --- ObjectMapper/Core/Map.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ObjectMapper/Core/Map.swift b/ObjectMapper/Core/Map.swift index fd852e8d..1afde513 100644 --- a/ObjectMapper/Core/Map.swift +++ b/ObjectMapper/Core/Map.swift @@ -33,7 +33,7 @@ import Foundation public final class Map { public let mappingType: MappingType - var JSONDictionary: [String : AnyObject] = [:] + public internal(set) var JSONDictionary: [String : AnyObject] = [:] public var currentValue: AnyObject? var currentKey: String? var keyIsNested = false @@ -157,4 +157,4 @@ private func valueFor(keyPathComponents: ArraySlice, dictionary: [AnyObj } return nil -} \ No newline at end of file +}