@Override
            public Object decode(JsonIterator iter) throws IOException {
                try {
                    return sdf.get().parse(iter.readString());
                } catch (ParseException e) {
                    throw new JsonException(e);
                }
            }
there is no official way to encode/decode datetime, this is just an option for you
src/main/java/com/jsoniter/extra/JdkDatetimeSupport.java