MCPcopy Create free account
hub / github.com/codemod/codemod / value_to_string_vec

Function value_to_string_vec

crates/models/src/variable.rs:364–393  ·  view source on GitHub ↗

Convert a JSON value to a `Vec ` if it is an array of strings, or a JSON-encoded string containing an array of strings. Returns `None` otherwise.

(value: &Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lookup_json_arrayFunction · 0.85

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…