Generation Code Examples#

The AML renderer can be found in the Aml10Renderer class. All generation methods are asynchronous, and either returns a promise/future as a result.

Using the renderer the parsed generated JSON-LD document parsed by AMF for a AML dialect instance can be parsed and the original AML document regenerated.

Before parsing a dialect instance, the dialect must be registered using the AMF.registerDialect function.

Example#

Last updated on by arielmirra