Converta a data do JSON para a data de Java

DateTimeFormatter jsonDateFormatter = new DateTimeFormatterBuilder()
            .appendLiteral("/Date(")
            .appendValue(ChronoField.INSTANT_SECONDS)
            .appendValue(ChronoField.MILLI_OF_SECOND, 3)
            .appendLiteral(")/")
            .toFormatter();

    String createdOn = "/Date(1406192939581)/";
    Instant created = jsonDateFormatter.parse(createdOn, Instant::from);
    System.out.println("Created on " + created);
Sello Fotoyi