data

Validate, pretty-print, minify or analyse a JSON document

Parses the supplied JSON. Returns a structural analysis (node counts by type, max nesting depth, top distinct keys). mode=pretty|minify|validate|analyze.

post/json-format.php

Request

  • Base URL: https://mate.tools/api/v1
  • URL: https://mate.tools/api/v1/json-format.php
  • Auth: none declared

Request body

jsonstring required
mode'pretty' | 'minify' | 'validate' | 'analyze'
indentinteger

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.