Forum Post: RE: Storing values in dataset

  • Thread starter Thread starter Santosh Patel
  • Start date Start date
Status
Not open for further replies.
S

Santosh Patel

Guest
Note that object references are also not supported by JSON, but valid in JavaScript objects (which the JSDO is), so I guess storing the JSDO which may contain object references is not possible in localStorage which stores only strings. The JSON format does not support references, so it will need to follow the properties until an end is reached, but because an child points to its parent which has a list of its children, this is an endless loop, thats the reason why you get that error. Working with JSDOs is not my area of expertise but do you need to store the JSDO as is or can it be processed into a JSON? Adding egarcia for JSDO expertise.

Continue reading...
 
Status
Not open for further replies.
Back
Top