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.
In reply to Re: JSON decode problem
by Corion
in thread JSON decode problem
by vlad.goshko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |