Skip to content

Instantly share code, notes, and snippets.

@creativeaura
Created July 27, 2015 22:03
Show Gist options
  • Save creativeaura/33c069d89449752977d1 to your computer and use it in GitHub Desktop.
Save creativeaura/33c069d89449752977d1 to your computer and use it in GitHub Desktop.
saving data
{
"cart": [
{
"id": "1",
"name": "Bead 1",
"selectedSize": "M",
"qty": "3",
"price": "4"
},
{
"id": "2",
"name": "Chain 2",
"selectedSize": "M",
"qty": "1",
"price": "10"
}
],
image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAqCAYAAABGB/BgAAAKUUlEQVRYhZ2XWZBd1XWGvz2c4Z473x41ogkNgISmCKIyIUoRYrCKUkWVMjapwi/4wXGShziDw4NSecPlmLJTGSCFK3Y5UIYigAPBBjsGHEDISJHQADQyJaRWS923+3b3nc+w987DbVEkAVGVfZ72w/n/tdZe+1//FnzKanVbNBdmR4vF8jbnREFI0XfO9kGE1pnNEvmsVPJsMV/5RAxxVYLOPEp6e4zNHsKxHQFCCJx1FgFKKglMWmv+oJCv/Oj/SzKulP6JQGxzziKkAucAgRBgrEEIgTW2Ya25tVSsnfo4HHk1EuDLzrptmUkx1oIDIUEIh3UO5xxZmmKtqQn401a78bF4+qoUTuyzzgAOB2RZgjEJzhocAqU8hBAYY5BS3uyMCYHu/yFZbE/zi5efr0ycObV8vl6vrF67qelcJhv16Xa/19JSSbT2MSbDZD2cEVgcSvuYLAXhIaUk7nUK58+dWvP1r93X3LnnxqS52M2mZxal9kVDX566oFesWP/g8dffuGvj9bvCrLvQn5m5LP2wkrQa52vVsWtxCBYadZzQ+J5mfu4Sa9dvpd3uYLMmYaGKtfH47PTUzy9dvJjUp5YnSJE4k7Bt685HdNzv+kPVsc2lfLH2uwfvJel3o2ce/y63fe6LSBogBFkaY63AWMd7E6dZvnycM2+fxPNCCoUCQWSRUsrNW64fDfRzaBVw+uRbrFm3npGRFb8ncVYrrQtCKRYXZnn2iUdYmJvD2gw/iAaH7SxhEBHlC9x00y1EuRJbNt+ANY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adM+/S717m7x/8Bv1+dwBuLWmaEve7ZFlKEvcxaUqWpaRpiskyrLV0Wi2qlSq9Tou7Dh7gt3/ndoaHymTGTmqJO74w3/jzUrky0q6UI6GL2gt92ev1h6OSv98668edeSrVcbTn4ZaIlfLo9zt0ui20H1qlg8bRY69ObLn+usmXfvaz0a3bd1CplqesyY594iPovV8d1eXSsrfBbvA9n3yhghSSOO4ihEIpD+cyGo3LBGGhqbWarden9x1767/Oz06dD2fqdXvo0LcS+JSX1vnzE/9WLJX3Yy1CBihlcc6gdQ6lPNI0pttrkYsKOOdeA7evVBhK/jfOVV9ax48c+Z7AWeMy+v02QVBA6TyZGXRTY3YSJYQVCIsTj30cwadm8v7ZY1EUhU/qsPpZkyUIFEnSRSAIvABjLVGxjBBMWWe3lgpDjY/DuWom6zbs7Bor7gcue14OhEB7IdoPcUrj5fLWORLnuP+TCD6VBODIa6+81Wk173XOnXHOopRGKYXAIpztZll6yFr36NUwrlquj676zIXxLO3vrdTGVuNsZKxJEPKVLEmPVaqj2dX+/W9siCM2OO5INAAAAABJRU5ErkJggg=="
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment