in reply to JSON decode problem
This is not "invalid JSON", but simply Javascript code. Either you write a proper parser which parses/preprocesses/handles those expressions for you, or you run that code through a Javascript interpreter and then dump the result as JSON.
|
|---|