ol-style-serializer (npm): This package can serialize OpenLayers style instances into javascript objects, and deserialize javascript objects into OpenLayers style instances.
Keywords: openlayers|ol|style|json|serializer|deserializer|serialization