MCPcopy Create free account
hub / github.com/clojure-rs/ClojureRS / try_read_map

Function try_read_map

src/reader.rs:499–518  ·  view source on GitHub ↗

@TODO Perhaps generalize this, or even generalize it as a reader macro Tries to parse &str into Value::PersistentListMap, or some other Value::..Map Example Successes: {:a 1} => Value::PersistentListMap {PersistentListMap { MapEntry { :a, 1} .. ]})

(input: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

newFunction · 0.85
try_readFunction · 0.85
into_list_mapMethod · 0.80
to_valueMethod · 0.45

Tested by

no test coverage detected