[This is first question on SO, so apologize me for any mistake]  I'm trying to save a Map, like the one below, in a cookie.  var myMap = new Map(); myMap.set("k1", {     a1: "...",     a2: "...",     a3: "..." });...
I am trying to use the JavaScript DOM API's XMLSerializer to convert an SVG element to its representative markup.  This is the basic code used to create the element and serialize it:  var el = document.createElementNS('http://www.w3.org/2000/...
I have a form which I would like to store the values of in a cookie so the user doesn't have to re-enter the form every visit. (The form is a few selects to filter search results.)  I would like for the cookie serialization to easily be readable...
In ASP.NET WebForms I want to pass arbitrary data from server to client and back again. I am serializing to JSON and have been simply producing JavaScript that creates the object on the client. I have no problem sending data to the server with ajax,...
I have a js object structured like:  object.property1 = "some string"; object.property2 = "some string"; object.property3.property1 = "some string"; object.property3.property2 = "some string"; object.property3.property...
hey I have a array object something like this  [{     public: "public",     private: "private",     [{         properties: {...         },         instance: {.....         }     }, {...     }, {...     }] }, {... }, {.... }]   Here th...
I am using the jQuery Sortable plugin.  Looking at the basic example on how to serialize the data I have the below code.      <div class='span4'>         <ol class='serialization vertical'>             <li data-id='...
I'm serializing quite complex data-structures using native JSON.stringify of chrome(will switch to some serialization library later for cross-browser support). Most of the data can be looked upon as static, but some is dynamic.  When constructing...
When I submit a form using jQuery's serialize() method, everything gets submitted except the textarea in the form. Is this a common issue? I can't figure it out. The form works except for just the textarea which stays undefined???  <textar...
Is there any serialization framework for Javascript which would retain class and reference information like Python pickles? I.e. one could directly take a prototypial inherited class instance (not just JSON-like data) and serialize it like::   // Som...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.