This example will demonstrate how to convert json to guava multimap using jackson JSON parser. In the set up, we will create a sample class NavItem and json that represent navigation elements. In addition, you will need to add jackson guava module to support JSON serialization and deserialization of Guava collection types.
Setup
Sample java class
Sample json
Additional dependency
Google Guava
First we will create an ObjectMapper, a class that provides the ability to convert between java and json, to deserialize json to guava multimap. Next calling ObjectMapper.readValue passing json and calling constructMapLikeType that will create a MultiMap with string as a key and nav item as values. In addition, you will need to register GuavaModule which will extend guava functionality to the object mapper.