Closed GoogleCodeExporter closed 8 years ago
When modifying JsonTypeConverter, at the initialization of String ticks the
constant '3' must be changed to a '2' as well.
Original comment by tcgar...@gmail.com
on 2 Aug 2011 at 4:03
Tim,
thank you for pointing out this problem.
The following is copied from http://www.ietf.org/rfc/rfc4627.txt
string = quotation-mark *char quotation-mark
char = unescaped /
escape (
%x22 / ; " quotation mark U+0022
%x5C / ; \ reverse solidus U+005C
%x2F / ; / solidus U+002F
%x62 / ; b backspace U+0008
%x66 / ; f form feed U+000C
%x6E / ; n line feed U+000A
%x72 / ; r carriage return U+000D
%x74 / ; t tab U+0009
%x75 4HEXDIG ) ; uXXXX U+XXXX
escape = %x5C ; \
quotation-mark = %x22 ; "
unescaped = %x20-21 / %x23-5B / %x5D-10FFFF
This means "\/" is equivalent to "/". Since we know the property type when we
convert the string to a LocalDateTime with the JsonTypeConverter, there should
be no ambiguity. So I've changed only the JsonTypeConverter.
Rolf
Original comment by Mail.Rol...@googlemail.com
on 11 Aug 2011 at 7:49
Interesting, and thanks!
Original comment by tcgar...@gmail.com
on 11 Aug 2011 at 2:13
Original comment by john.spurlock
on 1 Oct 2011 at 11:38
Original comment by john.spurlock
on 6 Nov 2011 at 3:10
Original issue reported on code.google.com by
tcgar...@gmail.com
on 1 Aug 2011 at 9:35Attachments: