Method: GnipApi::Apis::PowerTrack::Stream#parse_json
- Defined in:
- lib/gnip_api/apis/power_track/stream.rb
#parse_json(json) ⇒ Object
52 53 54 55 56 57 58 |
# File 'lib/gnip_api/apis/power_track/stream.rb', line 52 def parse_json json begin GnipApi::JsonParser.new.parse json rescue GnipApi::Errors::JsonParser::ParseError nil end end |