Data from sockets as json

Jan 26, 2010 at 7:47 AM

Hey Guys,

for me it would be much easier if all data from sockets is formatted as an json string. To extract the informations through regex is complicatet and time-consuming.

So, ist it possbile to get the data as a json string?

 

Thanks for the help.

Benjamin

Coordinator
Jan 28, 2010 at 7:07 PM

I'm not sure what you mean. A JSON string is just a set of characters surrounded by quotes. I'm pretty sure that's not what you mean...

Are you looking for a string record set?

Give us an example of what a current command returns and what you would prefer to see.

My guess is that you could do whatever you want today using a custom format - you might still have to use regular expressions, but at least it could be done on the server side.

 

 

Developer
Mar 16, 2010 at 6:44 AM

As you can see in the tickets i had the same idea. But at the moment there is no progress on this. So if you like, grab the code and it. That would be the fastest way. :)