<div dir="ltr">I think you need to describe what use cases you intend once you've encoded the thing.<div><br></div><div>JSON's pretty generic. You can convert any pickle into JSON, but it'll still have the security and versioning issues of a pickle. You can convert to PMML and convert the XML to JSON, but it'd still be limited by what PMML can represent, and not be deserializable into a sklearn estimator.</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Are you archiving the model? Are you hoping to predict from the model? Are you hoping to continue training the model? Does it need to be deserializable to a sklearn estimator? To a generic estimator not in the central sklearn library?</span><br></div>​</div>