@[email protected] to [email protected]English • 1 year agoIntroducing Pkl, a programming language for configurationpkl-lang.orgmessage-square18fedilinkarrow-up134arrow-down11cross-posted to: [email protected]
arrow-up133arrow-down1external-linkIntroducing Pkl, a programming language for configurationpkl-lang.org@[email protected] to [email protected]English • 1 year agomessage-square18fedilinkcross-posted to: [email protected]
minus-squareTerrorBite :veripawed3:linkfedilink4•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-square@[email protected]linkfedilink1•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.
minus-squareTerrorBite :veripawed3:linkfedilink1•1 year ago@Lynxtickler ahh, I misunderstood what you were referring to. Didn’t realise you were talking about JSON Schema and not the JSON syntax itself.
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.
@Lynxtickler ahh, I misunderstood what you were referring to. Didn’t realise you were talking about JSON Schema and not the JSON syntax itself.