#1 2011-07-13 11:59:22

migajek
Member
Registered: 2010-10-01
Posts: 89

Sending Objects (serialized as JSON?) with RESTServer callbacks

Hi,
since object serialization to/from JSON is used internally I wonder what'd be the easiest way to send serialized objects between Client / Server using REST callbacks?

Thanks,
mg

Offline

#2 2011-07-13 12:52:14

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Sending Objects (serialized as JSON?) with RESTServer callbacks

Just transfer the content as RawUTF8.

And use the corresponding functions of SQLite3Commons.

Offline

#3 2011-07-13 13:03:15

migajek
Member
Registered: 2010-10-01
Posts: 89

Re: Sending Objects (serialized as JSON?) with RESTServer callbacks

ab wrote:

Just transfer the content as RawUTF8.

And use the corresponding functions of SQLite3Commons.

thank you.
I didn't expected it to be SO trivial wink

Offline

Board footer

Powered by FluxBB