theThe aim is to save user inputtedentered JSON into a database Now. Now, before somonebefore someone jumps at me. I, I know json, II know mysql and i KnowI know all the links inbetween.
The issue is, i: I need to safely store the ENTIRE JSON feed in a single cell in the table.
The background is, this: this function will be a temp fix for a tool, thatthat is needed asap but will require alota lot of time. theThe temp fix will allow the system to go live with minimal code.
Users will create a GOOGLE maps style here ( http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html)
and have the JSON made for them
[ { "stylers": [ { "visibility": "off" } ] },{ "featureType": "water", "stylers": [ { "visibility": "on" } ] },{ "featureType": "transit.line", "elementType": "geometry.fill", "stylers": [ { "visibility": "on" }, { "hue": "#ff3300" }, { "color": "#ff0000" }, { "weight": 0.7 } ] },{ "featureType": "transit.station.rail", "stylers": [ { "visibility": "on" }, { "color": "#0000ff" }, { "weight": 4.6 } ] },{ } ] The site will then just call the JSON and apply it using JquryjQuery later on. WhatWhat would my ''best practice'' method be at doing this.