Hi, community members!
I have read a lot of MPS docs and watched some tutorials, but I didn't find answers to few my questions:
1) How can MPS generate JSON from my DSL? I have seen some examples for XML (using jetbrains.mps.core.xml), but can't find examples for JSON.
2) How can I use my DSL as a library in, for example, 3-rd party java project? For example, I want to add DSL lib to my Java project and use DSL as an input. Then, using DLS library, get JSON as a response. Then do some actions using retrieved JSON according to business logic in runtime. Is it possible?
If you could provide some examples or links, it would help me a lot. Thanks!