Full AWS Practitioner Certification Question

What distinguishes YAML syntax from JSON when configuring workflow jobs in GitHub Actions?