官术网_书友最值得收藏!

JSON

In a world in which the majority of data is accessed via the web, and most engineering organizations implement some number of microservices, we are going to encounter data in JSON format fairly frequently. We may only need to deal with it when pulling some random data from an API, or it might actually be the primary data format that drives our analytics and machine learning workflows.

Typically, JSON is used when ease of use is the primary goal of data interchange. Since JSON is human readable, it is easy to debug if something breaks. Remember that we want to maintain the integrity of our data handling as we process data with Go, and part of that process is ensuring that, when possible, our data is interpretable and readable. JSON turns out to be very useful in achieving these goals (which is why it is also used for logging, in many cases).

Go offers really great JSON functionality in its standard library with encoding/json. We will utilize this standard library functionality throughout the book.

主站蜘蛛池模板: 泗洪县| 攀枝花市| 济宁市| 赞皇县| 凤凰县| 清新县| 浦县| 吉安市| 繁峙县| 新昌县| 沿河| 景洪市| 蓬安县| 华容县| 含山县| 台湾省| 上高县| 康平县| 安塞县| 明水县| 罗江县| 满洲里市| 和平区| 中阳县| 从化市| 山阳县| 娄烦县| 天门市| 申扎县| 乌拉特后旗| 灵台县| 文水县| 徐州市| 临泉县| 塔河县| 吉林市| 佛学| 虹口区| 吉安县| 奈曼旗| 临潭县|