Open GoogleCodeExporter opened 9 years ago
I have made few changes in the attached files and now it seems to work with all
the
types.
Original comment by nabil.sh...@gmail.com
on 18 Jan 2010 at 3:21
Attachments:
Given a Map<K, V> the marshaller should work the following way:
K is either a String, a *value* type which converts to Json.String or an inlined
entity whose only field converts to Json.String. For values or entities which
convert
to Json.Number, an automatic coercien to Json.String would be assumed.
V has no restriction, value or entity which can be marshalled.
The JsonMarshaller being test driven, we never accept any patch which does not
full
test coverage.
Original comment by pascallo...@gmail.com
on 18 Jan 2010 at 4:05
[deleted comment]
But what is the reason of restricting keys of type object. In real World, the
key
could be any thing.
Original comment by nabil.sh...@gmail.com
on 19 Jan 2010 at 10:05
Also tell me from where can I get the testdata/sample%s_pretty.json, as it is
not
included in the source code.
All the test cases are successful and except the regression.
Original comment by nabil.sh...@gmail.com
on 19 Jan 2010 at 11:03
Attachments:
Keys must be strings in JSON. Please read the spec at www.json.org
Having the existing pass is obviously required, but not sufficient. You must
have
NEW, ADDITIONAL tests that clearly define and test the WHOLE feature.
Original comment by pascallo...@gmail.com
on 20 Jan 2010 at 4:01
Original issue reported on code.google.com by
nabil.sh...@gmail.com
on 18 Jan 2010 at 9:53