Json Integration
Integrates a JSON library like Moshi or Gson into proto. This rigid interface attempts to make it easy all JSON libraries to encode and decode JSON in the exact same way.
Functions
Link copied to clipboard
Returns an adapter that applies jsonStringAdapter to each value.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns an adapter iterates a list of the target adapter.
Link copied to clipboard
Returns an adapter iterates keys and values of the target adapter.
Link copied to clipboard
Returns an adapter that handles trees of Maps, Lists, and other JSON types. Should always serialize nulls, including when they are values in maps.