Re: [Cppcms-users] Set a null value on JSON without quotes
Brought to you by:
artyom-beilis
From: Daniel R. <dan...@li...> - 2012-10-31 14:15:33
|
Thanks Artyom, it worked perfectly :) Now following the json example, Im trying to publish the content using: my_object.save(response.out(),cppcms::json::compact); Everything seems ok, but looking at the output type it shows: text/html but, it needs to be: text/javascript How can I do that? Daniel |