regarding passing JSON string from browser process

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

regarding passing JSON string from browser process

Postby giridharb54 » Mon Feb 10, 2014 8:06 am

HI all,

I am trying to return json format strings from the browser process thru ipc back to the javascript. However in std::string for semi colon and comma we need to add \\ to escape it/ Is there any other way to pass the json format string back to javascript?
giridharb54
Expert
 
Posts: 100
Joined: Thu Oct 17, 2013 2:15 am

Re: regarding passing JSON string from browser process

Postby mezdej » Wed Jun 18, 2014 5:38 am

Hi,
actually i have the same problem (js <-> handler communication) and as far as i know you could check some of this:

http://www.magpcss.org/ceforum/viewtopic.php?f=10&t=11436&p=20012
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11015&p=18369

Nevertheless i would like to see js calls automatically send to browser process using json to handle it there.
Or just simple JSON::Encode JSON::Decode methods to make "rpc".

What i don't like about Router on boths sides is that they require js call "Query" with json as arguments...
On that side i would like to see "myobject.mycall( arguments )" like in cef1.
mezdej
Techie
 
Posts: 31
Joined: Tue Oct 22, 2013 3:56 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 171 guests