- Building Microservices with Go
- Nic Jackson
- 134字
- 2021-07-15 17:28:16
Object type standardization
Whether you are using custom binary serialization, JSON, or JSON-RPC you need to think about how your user is going to handle the object at the other side of the transaction. Many of the serialization packages Protocol Buffers such as protocol buffers and Thrift that use stubs to generate client code will happily deal with serialization of simple types such as Dates into native types that enable your consumer to easily use and manipulate these objects. However, if you are using JSON or JSON-RPC there is no concept of a Date as a native type therefore it can be useful to fall back to ISO standards which the user of the client can easily deserialize. The Microsoft API design guidelines provide some good advice on how to handle Dates and Durations.
- C++程序設(shè)計(jì)教程
- PowerCLI Cookbook
- Python爬蟲開發(fā)與項(xiàng)目實(shí)戰(zhàn)
- Java Web基礎(chǔ)與實(shí)例教程
- 大模型RAG實(shí)戰(zhàn):RAG原理、應(yīng)用與系統(tǒng)構(gòu)建
- Cocos2d-x學(xué)習(xí)筆記:完全掌握Lua API與游戲項(xiàng)目開發(fā) (未來書庫)
- 全棧自動化測試實(shí)戰(zhàn):基于TestNG、HttpClient、Selenium和Appium
- Swift語言實(shí)戰(zhàn)精講
- Spring快速入門
- JBoss:Developer's Guide
- Robot Framework Test Automation
- Python深度學(xué)習(xí)(第2版)
- WCF全面解析
- 高質(zhì)量程序設(shè)計(jì)指南:C++/C語言
- Hands-On ROS for Robotics Programming