Open rvanasa opened 1 year ago
This PR is a demonstration of the serde-based value conversion feature in the Motoko VM.
In general, Motoko can now fill the role of a configuration file format in place of Dhall or JSON.
Example vessel.mo file (in place of vessel.dhall):
vessel.mo
vessel.dhall
{ dependencies = [ "base" ]; compiler = null; // optional field };
Original vessel.dhall file:
{ dependencies = [ "base" ], compiler = None Text }
This PR is a demonstration of the serde-based value conversion feature in the Motoko VM.
In general, Motoko can now fill the role of a configuration file format in place of Dhall or JSON.
Example
vessel.mo
file (in place ofvessel.dhall
):Original
vessel.dhall
file: