Extension::JsonFromYaml Method
Syntax
.FromYaml as c (yaml as C)
Arguments
- yaml
Character
Description
Create JSON from YAML.
Example
dim yaml as c = <<%str% fname: john lname: public address: street: 12 and main city: Squares Ville State: KY %str% dim json as c = extension::JSON::FromYaml(yaml) ? json { "fname": "john", "lname": "public", "address": { "street": "12 and main", "city": "Squares Ville", "State": "KY" } }