GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • API Index
  • clojure.core
  • clojure.data
  • clojure.datafy
  • clojure.edn
  • clojure.inspector
  • clojure.instant
  • clojure.java.basis
  • clojure.java.browse
  • clojure.java.io
  • clojure.java.javadoc
  • clojure.java.process
  • clojure.java.shell

This view

  • Original page
  • New address

GeezerVison is showing clojure.github.io — clojure.datafy - Clojure v1.12.4 API documentation

Clojure

Clojure Core API Reference

Clojure v1.12.4 API
  • Overview
  • API Index
Namespaces
  • clojure.core
  • clojure.data
  • clojure.datafy
  • clojure.edn
  • clojure.inspector
  • clojure.instant
  • clojure.java.basis
  • clojure.java.browse
  • clojure.java.io
  • clojure.java.javadoc
  • clojure.java.process
  • clojure.java.shell
  • clojure.main
  • clojure.math
  • clojure.pprint
  • clojure.reflect
  • clojure.repl
  • clojure.set
  • clojure.stacktrace
  • clojure.string
  • clojure.template
  • clojure.test
  • clojure.tools.deps.interop
  • clojure.walk
  • clojure.xml
  • clojure.zip
Other Versions
  • v1.12.3 (stable)
  • v1.13 (in development)
  • v1.11.4 (legacy)
  • v1.10.3 (legacy)
  • v1.9 (legacy)
  • v1.8 (legacy)
  • v1.7 (legacy)
  • v1.6 (legacy)
  • v1.5 (legacy)
  • v1.4 (legacy)
  • v1.3 (legacy)
  • v1.2 (legacy)
  • v1.1 (legacy)
Clojure Home

Table of Contents

Overview
Vars and Functions
datafy
nav

API for clojure.datafy - Clojure v1.12.4 (stable)


Full namespace name: clojure.datafy

Overview

Functions to turn objects into data. Alpha, subject to change

Public Variables and Functions



datafy

function
Usage: (datafy x)
Attempts to return x as data.
datafy will return the value of clojure.core.protocols/datafy. If
the value has been transformed and the result supports
metadata, :clojure.datafy/obj will be set on the metadata to the
original value of x, and :clojure.datafy/class to the name of the
class of x, as a symbol.

    
    
    Source
  


nav

function
Usage: (nav coll k v)
Returns (possibly transformed) v in the context of coll and k (a
key/index or nil). Callers should attempt to provide the key/index
context k for Indexed/Associative/ILookup colls if possible, but not
to fabricate one e.g. for sequences (pass nil). nav returns the
value of clojure.core.protocols/nav.

    
    
    Source
  
Copyright 2007-2025 by Rich Hickey
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.