1import{_ as s}from"./FormatTransformer.vue_vue_type_script_setup_true_lang-0e444002.js";import{p as t}from"./public-api-1d5b2fbb.js";import{i}from"./boolean-c7e7c785.js";import{w as m}from"./defaults-4d6daddf.js";import{d as p,o as u,c as l}from"./index-d26c182c.js";import"./TextareaCopyable-e0b1ef22.js";import"./Copy-afd65e86.js";import"./Scrollbar-af66ae73.js";const b=p({__name:"yaml-to-json",setup(c){function e(o){return m(()=>{const r=t(o,{merge:!0});return r?JSON.stringify(r,null,3):""},"")}const a=[{validator:o=>i(()=>t(o)),message:"Provided YAML is not valid."}];return(o,r)=>{const n=s;return u(),l(n,{"input-label":"Your YAML","input-placeholder":"Paste your yaml here...","output-label":"JSON from your YAML","output-language":"json","input-validation-rules":a,transformer:e})}}});export{b as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.