title: store edited svg image with json
body: <p>i am currently developing an application that lets the user change the colours of different parts of an svg image of a dress, e.g they can choose a colour for the sleeves, the main body, the neckline etc. the user can also drag and drop shapes provided onto the dress for added design. what i want to do now is to store their edited design to a json file and when they log back in they can retrieve the design. Does anyone know how i go about doing this to make sure that the colours the user chose, along with their added shapes save to the positions they had clicked? </p>