JSON To YAML Converter avatar
JSON To YAML Converter

Pricing

Pay per event

Go to Apify Store
JSON To YAML Converter

JSON To YAML Converter

JSON to YAML Converter: This Apify Actor takes a JSON file or raw string input, transforms it into a validated YAML document, and outputs a downloadable output.yaml file. Lightweight, fast, and easy to integrate into any workflow.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Karim

Karim

Maintained by Community

Actor stats

0

Bookmarked

8

Total users

3

Monthly active users

4 months ago

Last modified

Share

Easily transform JSON into YAML. Provide a JSON string or upload a JSON file and receive the same data in YAML format.

Input

  • jsonText – JSON string to convert.
  • jsonFile – HTTPS URL of a JSON file in the actor's key-value store.

Only one of jsonText or jsonFile is required.

Charging

Running the actor costs $0.005 when it starts. After the YAML is generated, the actor charges $0.00001 for each character in the output.

Example

{
"jsonText": "{\n \"name\": \"Alice\",\n \"age\": 30,\n \"active\": true,\n \"address\": {\n \"street\": \"123 Main St\",\n \"city\": \"Metropolis\"\n },\n \"skills\": [\"python\", \"javascript\"],\n \"projects\": [{\"name\": \"alpha\"}, {\"name\": \"beta\"}]\n}"
}