MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / format_json

Function format_json

node-graph/nodes/text/src/json.rs:13–48  ·  view source on GitHub ↗
(
	_: impl Ctx,
	/// The JSON string to reformat.
	#[name("JSON")]
	json: String,
	/// Removes optional spaces within curly brackets and after colons and commas.
	compact: bool,
	/// Break arrays and 

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

strip_trailing_commasFunction · 0.85
unescape_stringFunction · 0.85
format_valueFunction · 0.85
format_inlineFunction · 0.85

Tested by

no test coverage detected