I am trying to figure out if it is possible to convert a FeatureLayer to a string for purposes of storage either at client side or db.
I want to convert all content associated (fields, features, style etc.).