canpolat@programming.dev to Programming@programming.devEnglish · 1 year agoIntroducing Pkl, a programming language for configurationpkl-lang.orgexternal-linkmessage-square17fedilinkarrow-up136arrow-down11cross-posted to: [email protected]
arrow-up135arrow-down1external-linkIntroducing Pkl, a programming language for configurationpkl-lang.orgcanpolat@programming.dev to Programming@programming.devEnglish · 1 year agomessage-square17fedilinkcross-posted to: [email protected]
minus-squareTerrorBite :veripawed3:@meow.sociallinkfedilinkarrow-up3·1 year agoIt’s the other way around. The YAML schema supports JSON because YAML was designed as a superset of JSON. @Lynxtickler @canpolat
minus-squareLynxtickler@sopuli.xyzlinkfedilinkarrow-up1·1 year agoI get where you’re coming from, but JSON Schema still absolutely is the framework that supports YAML files and not the other way around. I’ve been using JSON Schema pretty heavily lately to write schemas using YAML, for validating YAML.
It’s the other way around. The YAML schema supports JSON because YAML was designed as a superset of JSON.
@Lynxtickler @canpolat
I get where you’re coming from, but JSON Schema still absolutely is the framework that supports YAML files and not the other way around. I’ve been using JSON Schema pretty heavily lately to write schemas using YAML, for validating YAML.