Nordstrom / xrpc

Simple, production ready Java API server built on top of functional composition.
Apache License 2.0
17 stars 17 forks source link

Possibly rework how JSON decode/encode is done with proto classes #166

Open andyday opened 6 years ago

andyday commented 6 years ago

Consider using a config property to switch between proto and non-proto class decode/encode. See #164 ...

Alternatively create a more granular approach for Decoder/Encoder selection.

This may overlap with JSON serialization implementation selection/abstraction as well. For instance, we could cache <Content-Type:Class<?>, JsonDecodingAdapter> where JsonDecodingAdapter is one of a number of JSON serialization implementations.