Skip to content

Json

Index

json::sort

Sort JSON keys recursively. Reads from stdin or a file argument. Output: stdout — JSON with all object keys sorted

Arguments

  • $1 (JSON): file path (optional; reads stdin if omitted)