JSON does not define any representation for encoding date/time
information.
It *appears* that people tend to use ISO-8601 for them [1].
May be that's what Go does.
Note that the documentation for the encoding/json package does not
mention dates and times at all.
1. http://en.wikipedia.org/wiki/
http://blog.charmes.net/2015/08/json-date-management-in-golang_7.html
本文讨论了JSON标准中未定义日期/时间的表示形式,指出实践中通常采用ISO-8601标准进行编码,并提及了Go语言可能采取的做法。
975

被折叠的 条评论
为什么被折叠?



