canpolat@programming.dev to Programming@programming.devEnglish · 10 months agoIntroducing Pkl, a programming language for configurationpkl-lang.orgexternal-linkmessage-square19fedilinkarrow-up137arrow-down11cross-posted to: kubernetes@programming.devhackernews@lemmy.smeargle.fans
arrow-up136arrow-down1external-linkIntroducing Pkl, a programming language for configurationpkl-lang.orgcanpolat@programming.dev to Programming@programming.devEnglish · 10 months agomessage-square19fedilinkcross-posted to: kubernetes@programming.devhackernews@lemmy.smeargle.fans
minus-squareTerrorBite :veripawed3:@meow.sociallinkfedilinkarrow-up4·10 months 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·10 months 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:@meow.sociallinkfedilinkarrow-up1·10 months 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.