PersistentState as JSON

PersistentStateComponent saves setting as XML file. Can i write file myself? 

E.g. runWriteAction -> createFileMethod("foo.json")

 

P.S. Approach must save Export\import capability.

Please sign in to leave a comment.