Code example for JsonReader

Methods: beginObjectendObjectnextNamenextString

0
   } 
 
   @Override 
   public Header read(JsonReader in) throws IOException {
      Header.Builder builder = new Header.Builder(); 
      in.beginObject();
      in.nextName();
      builder.signerAlgorithm(in.nextString());
      in.nextName();
      builder.type(in.nextString());
      in.endObject();
      return builder.build(); 
   } 
} 
Connect your IDE to all the code out there  Get Codota for Java