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

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.

主站蜘蛛池模板: 登封市| 会宁县| 太谷县| 阜阳市| 连江县| 辽阳市| 观塘区| 石台县| 金山区| 金沙县| 静海县| 桃源县| 彭阳县| 新建县| 黄龙县| 阜阳市| 布拖县| 乐东| 甘南县| 临清市| 孟连| 逊克县| 重庆市| 武威市| 类乌齐县| 沙雅县| 若羌县| 克拉玛依市| 洛浦县| 桃源县| 长葛市| 崇阳县| 竹山县| 莱芜市| 长丰县| 大同县| 皋兰县| 汉川市| 萨迦县| 色达县| 清水河县|