Custom Editor Workflow - Examples?

I would like to build a custom json file editor with a theia ide frontend - The frontend component will be a tree-widget that allows updating the content of the file. I think what I need to do is create a new backend service that can deal with the json file - but I was wondering if there is a way using existing file services. If anyone can point me to some possible examples, I would really appreciate it.

[original thread by shortwavedave]

If you want to integrate with dirty editors, you should reuse MonacoTextModelService to access a model. For each uri where can be only one model which is used by all editors, so when you modify a model changes will be propogated to code editors.

If you just want to override the content on the disk, you should use ResourceProvider to get a resource for your uri.

Look at ex3 here: https://github.com/TypeFox/theia-workshop/tree/exercise-3

[shortwavedave]

Thanks!