目录
目录README.md

Dictionary Encoder

Swift Dictionary Encoder and Decoder, based off the JSONEncoder in Foundation.

Internally the JSONEncoder in the Swift Foundation creates a dictionary before encoding to JSON and the JSONDecoder works from a Dictionary parsed from JSON data. This encoding/decoding to and from a dictionary is hidden and not available to the user.

DictionaryEncoder is essentially the same as JSONEncoder but instead of returning JSON data, it returns the Dictionary<String, Any> the JSON data would have been generated from. Likewise DictionaryDecoder is essentially the same as JSONDecoder except it’s input is a Dictionary<String, Any>.

关于
56.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号