I want to access json data generated from a synchronization stream into an async stream. I get json data from the synchronization stream correctly, and I want to get a specific attribute value from the fact that my json data looks like this:
{"data" : [{"in_timestamp":"2012-12-04","message":"hello","out_timestamp":null,"from_user":"user2","ID":43,"to_user":"user1"}]} and to user is
I want to access the to_user attribute from this json format. I tried using #[json:to_user] , but it just prints it as a string and returns no value. Please help. Thanks in advance.
source share