본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

expanso-json-flatten

aronchick 제작

CLI Utilities
585clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Flatten nested JSON objects.

설명

이 스킬이 하는 일

Flattens nested JSON objects into a single-level key-value structure. Runs as a CLI pipeline, an MCP server, or deploys to Expanso Cloud. Input is piped through the Expanso Edge runtime.

Avoids writing custom recursive flattening logic for arbitrarily nested JSON structures.

사용 시점

  • Normalizing nested API responses before loading into a database
  • Flattening config files to compare values across environments
  • Preprocessing webhook payloads for spreadsheet export
  • Simplifying nested log entries for log aggregation tools
  • Converting deeply nested objects into flat CSV rows

예시 워크플로

입력

User asks: flatten this nested JSON object

에이전트
  1. 1

    Receives nested JSON as stdin

  2. 2

    Pipes input to the expanso-edge runtime

  3. 3

    Executes pipeline-cli.yaml to process the flattening

  4. 4

    Returns a flat single-level JSON object

출력

A flat JSON object with dot-notation or underscore-separated keys representing the original hierarchy

요구 사항

  • Expanso Edge binary installed in PATH (install via `clawhub install expanso-edge`)

설치

clawhub install aronchick/expanso-json-flatten

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크