cancel
Showing results for 
Search instead for 
Did you mean: 

jsonUtils problem

mdergalev
Champ in-the-making
Champ in-the-making
Hi.
Can't understand why jsonUtils.toJSONObject(obj) always returns null.

In js debugger I evaluate expression:

obj = {}
jsonUtils.toJSONObject(obj)

and it always returns null. I've experimented with many different objects, but result is the same.

Am I doing wrong something?

1 REPLY 1

mdergalev
Champ in-the-making
Champ in-the-making
Ok. Solved. It seems that debugger has problem. In fact toJSONObject works properly, but debugger shows null