abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matthewj <matth...@oclc.org>
Subject Question about JSON output from Abdera
Date Thu, 22 Sep 2011 19:08:44 GMT

I am using Abdera in a web service to output Atom in both xml and json.  The
xml is fine, but I have a question about the json representation.  I am
serializing an object into an Entry¹s content element, which is not a
problem with xml.  However, when I request JSON I expect {³id²:²asdf²,
³title²:²title², ³content²: {³something²: ³foobar²}}, but get:
>> {
>>  "id":"asdf",
>>  "title":"title",
>>  "content":"{\"something\":\"foobar\"}",
>>  "updated":"2011-09-15T18:13:39.401Z"
>> }
Is this the appropriate result in JSON (the content element represented as

Jack Matthews 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message