Files
Devour/devour_data/docs/json.func-marshalindent.json
T
Tomas Dvorak 898a3c303f update
2026-02-24 10:33:59 +01:00

18 lines
957 B
JSON

{
"id": "96402bb52a5c1203e1c40a10",
"source": "go:encoding/json",
"type": "go-function",
"title": "json.func MarshalIndent",
"content": "# json.func MarshalIndent ¶\n\n```\nfunc MarshalIndent(v any, prefix, indent string) ([]byte, error)\n```\n\nMarshalIndent is like Marshal but applies Indent to format the output.\nEach JSON element in the output will begin on a new line beginning with prefix\nfollowed by one or more copies of indent according to the indentation nesting.",
"url": "https://pkg.go.dev/encoding/json#func MarshalIndent ¶",
"metadata": {
"examples": "null",
"import_path": "Standard library/encoding/json",
"kind": "function",
"package": "json",
"signature": "func MarshalIndent(v any, prefix, indent string) ([]byte, error)",
"symbol": "func MarshalIndent ¶"
},
"hash": "092d212819e585629345453b0d452e3c79f925f4397e40bcb3d4e5f600a520b2",
"timestamp": "2026-02-23T11:22:10.080622532+01:00"
}