Code example for JsonReader

Methods: peek

0
      return iso8601Format.parse(json);
    } catch (ParseException e) {
      throw new JsonSyntaxException(json, e);
    } 
  } 
 
  @Override public synchronized void write(JsonWriter out, Date value) throws IOException {
    if (value == null) {
      out.nullValue();
      return; 
    } 
    String dateFormatAsString = enUsFormat.format(value);
    out.value(dateFormatAsString);
  } 
} 
Connect your IDE to all the code out there  Get Codota for Java