//  Created by lishengfeng on 2018/3/10.
//  Copyright © 2018年 李胜锋. All rights reserved.
//

import Foundation

public extension NSObject {
    func codableProperties() -> [String: Any?] {
        var codableProperites = [String: Any?]()
    
        let mirror = Mirror.init(reflecting: self)
        
        for (label, value) in mirror.children {
            if let name = label {