Microservices with multiple formats

Sometimes microservices have to be flexible and support multiple formats. For example, some modern clients use JSON, but some need XML or another format. In this section, we'll improve our microservices by adding the Concise Binary Object Representation (CBOR) serialization format.

CBOR is a binary data serialization format based on JSON. It's more compact, supports binary strings, works faster, and is defined as a standard. You can read more about this at https://tools.ietf.org/html/rfc7049.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.163.13