Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ to_pretty_json
Function
to_pretty_json
atomic-cli/src/commands/op/output.rs:148–150 ·
view source on GitHub ↗
(value: &T)
Source
from the content-addressed store, hash-verified
146
}
147
148
pub(super) fn to_pretty_json<T: serde::Serialize>(value: &T) -> serde_json::Result<String> {
149
serde_json::to_string_pretty(value)
150
}
151
152
fn write_metadata_transition(
153
output: &mut String,
Callers
1
json
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected