LeapMotionAS3 icon indicating copy to clipboard operation
LeapMotionAS3 copied to clipboard

Error #1132: Invalid JSON parse input

Open gajlung opened this issue 7 years ago • 1 comments

why that happenned when i run my project? it happenned after several minutes. this is the output

SyntaxError: Error #1132: Invalid JSON parse input. at JSON$/parseCore() at JSON$/parse() at com.leapmotion.leap.socket::LeapSocket/onSocketDataHandler()[/Users/logotype/Documents/Repositories/LeapMotionAS3/src/com/leapmotion/leap/socket/LeapSocket.as:301]

gajlung avatar Sep 23 '17 11:09 gajlung

Hi

It sounds like the Leap Motion driver sends an invalid JSON object, is it possible that you can debug and send what the JSON which fails to be parsed looks like?

Thank you

logotype avatar Sep 23 '17 11:09 logotype