Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Craig Mitchell
Would it not be easier to just create your JSON object manually with the classes in com.google.gwt.json.client? Ie: JSONObject, JSONArray, ... On Thursday 23 May 2024 at 1:42:29 am UTC+10 Thomas Broyer wrote: > On Wednesday, May 22, 2024 at 12:43:56 PM UTC+2 tenti...@gmail.com wrote: > > I

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Thomas Broyer
On Wednesday, May 22, 2024 at 12:43:56 PM UTC+2 tenti...@gmail.com wrote: I misunderstood the documentation... ty for the clarification Thomas can you give me some confirmations. The Date issue, When you say to use the JsDate do you mean the one in the elemental2 package

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Marco Tenti (IoProgrammo88)
I misunderstood the documentation... ty for the clarification Thomas can you give me some confirmations. The Date issue, When you say to use the JsDate do you mean the one in the elemental2 package (elemental2.core.JsDate) or in the gwt core ( com.google.gwt.core.client.JsDate) ? So for the

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Vassilis Virvilis
> > or passing a @JsFunction to JSON.stringify() as its second argument I wish I knew that some time before... -- Vassilis Virvilis -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from

Re: it is not a circular structure

2011-10-14 Thread .Mark
I have just updated my Ubuntu workstation to 11.10 which has provided me Eclipse Indigo. With that I have updated my Google plug-in to the version for Eclipse Indigo. I have GWT 2.4.0 and AppEngine 1.5.5. It appears things are working better. I am not currently getting the circular reference

Re: it is not a circular structure

2011-10-11 Thread J.Ganesan
some classes extending the JavaScriptObject class.  None of these classes reference each other or reference itself.  I only access them in my java code and use the JSON to store these data structures. I get an error of (TypeError): Converting circular structure to JSON. Each class's unit test

Re: it is not a circular structure

2011-10-10 Thread Mark Ward
. nbsp;None of these classes reference gt; each other or reference itself. nbsp;I only access them in my java code gt; and use the JSON to store these data structures. gt; gt; I get an error of (TypeError): Converting circular structure to gt; JSON. gt; gt; Each class's unit

Re: it is not a circular structure

2011-10-09 Thread .Mark
have some classes extending the JavaScriptObject class.  None of these classes reference each other or reference itself.  I only access them in my java code and use the JSON to store these data structures. I get an error of (TypeError): Converting circular structure to JSON. Each class's

Re: it is not a circular structure

2011-10-09 Thread ward.m...@gmail.com
gt; each other or reference itself. nbsp;I only access them in my java code gt; and use the JSON to store these data structures. gt; gt; I get an error of (TypeError): Converting circular structure to gt; JSON. gt; gt; Each class's unit test works on the stringify calls. gt; The program works

Re: it is not a circular structure

2011-10-09 Thread alexandroid
these data structures. gt; gt; I get an error of (TypeError): Converting circular structure to gt; JSON. gt; gt; Each class's unit test works on the stringify calls. gt; The program works if I put debug lines to stringify each class before gt; the natural flow of the program. gt

it is not a circular structure

2011-10-08 Thread .Mark
circular structure to JSON. Each class's unit test works on the stringify calls. The program works if I put debug lines to stringify each class before the natural flow of the program. What happens during run time is I fire events when data is written to the jnsi objects. A listener to the event