Topic
1 reply Latest Post - ‏2012-09-07T16:04:37Z by SystemAdmin
rjhiii2009
rjhiii2009
3 Posts
ACCEPTED ANSWER

Pinned topic RSA JSON Support - MDA UML to JSON (Xform) , JSON Schemas, XML to JSON

‏2012-09-07T14:46:55Z |
Is there any way to support UML model to JSON (draft schema or objects) transformations? Other questions are support for JSON in RSA past the JSON Editor including support for JSON schemas. Also XML to JSON, when some complex XML schemas. We've had some difficulty generating JSON from complex XML with open source.

Also, what is the best way to work with JSON in RSA? JSON and REST are an emerging requirement and end to end solutions, or even the significant pieces, are needed. MDA for REST seems to be there but appear to be with
only a box in which to put JSON (or XML), which doesn't appear to be much help in generating that JSON.

Thanks!
Updated on 2012-09-07T16:04:37Z at 2012-09-07T16:04:37Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    14225 Posts
    ACCEPTED ANSWER

    Re: RSA JSON Support - MDA UML to JSON (Xform) , JSON Schemas, XML to JSON

    ‏2012-09-07T16:04:37Z  in response to rjhiii2009
    RSA does not have support for modeling JSON.

    However, in a RESTful service Model, you can use JAXB classes directly as REST parameters. The JAX-RS runtime has the appropriate providers to serialize and de-serialize JAXB classes to/from both XML and JSON.

    Also you can use the XSD Modeling capabilities to generate XSD and then generate JAXB classes from the XSD using xjc compiler.

    I suggest you to raise an enhancement request if you want to see more direct support for JSON.

    regards
    Sandeep